Have you ever tried to set the device setting in Xcode but it never works? 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 Untick iPhone and/or Mac