Home > Blockchain >  why Xcode 13 ignores devices orientation settings at all costs?
why Xcode 13 ignores devices orientation settings at all costs?

Time:10-21

Similar question here and not a single working answer:

enter image description here

Manual settings under the deployment:

enter image description here

anyones got a solution for this as this is a very annoying bug in Xcode!

CodePudding user response:

The 'Device Orientation' checkboxes seem to be broken in Xcode 13. They don't modify the info.plist entries at all. Maybe this has to do with the new info.plist slim template that Apple introduced at WWDC 2021.

Manually adding Supported device orientation (iPhone) seems to do the trick. However, it will not be reflected in Xcode Deployment Info's checkboxes.

info.plist

CodePudding user response:

I'm not sure if this is correct, but it solves the problem and the Device orientation checkboxes work again. It looks like an Xcode bug. What you need to do - just delete "Supported interface orientations (iPhone)" in info.plist and select the necessary checkboxes in General

XCode screenshot

  • Related