Have you ever tried to set the device setting in Xcode but it never works?

Xcode Deployment Info

It does not work because if your target involves at lease 2 devices, in my case above it is iPhone and iPad, Xcode would separate the settings for you. They just, however, do not tell you in the Xcode UI.

The solution is follow:

If you want to change the device orientation setting for, let say, an iPad

  1. Untick iPhone and/or Mac
  2. You should see the setting for iPad specificly




Hi this is Rick from Hong Kong. I am a native iOS and Android mobile developer and also a tech enthusiast. Find me on Twitter https://twitter.com/rick3817