Similar question here and not a single working answer:
Manual settings under the deployment:
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.
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