Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 7 Beta warnings: Interface Orientations and Launch Storyboard

Tags:

xcode

ios

This warning is new for iOS 9 since it supports resizable apps with multi-window support. Previously, apps would be auto-scaled to new devices which had different hardware display resolutions to those in the launch image (which is basically how iOS detects the supported interface resolutions). Now, apps which support multi-window must define the resolutions they support by including a launch image or storyboard for all device screen types.

Unless you are re-writing your app to support multi-window, you will be requiring 'Full screen'. This is a hint to iOS that you do not support multi-window, and basically makes iOS 9 work like previous versions in this regard.

So, if you are submitting an app update for iOS 9, and you do not support multi-window, all you have to do is to go to your Project Target settings, select General, and under 'Deployment Info' look for the tick box called 'Requires Full Screen'. Tick this and the warnings will disappear.

It is certainly not a bug. If this warning is present, then your app may have trouble during submission. Not sure about that, because I haven't submitted an app with iOS 9 GM Seed yet, but I'm certainly going to tick the box :-)


Just go to your target,click "General" tab,find the "Deployment Info" section,check the "Requires full screen". :)

It's so easy,right?

BTW, this is not the best solution. There will be more and more better solutions. But when I answer this question, I only thought how to kill the warnings. I didn't explain why do this but how to solve this. Xcode beta version might change it's features, so I just provide a "workaround" at that early time. So if you think my solution is a workaround, please vote up for other better answers. But this is not the reason for voting down. Thanks :)


This is because Apple has added multi task ability in iOS 9. All you need to tell Xcode is that your app require full screen.

Add the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.

To read more about it in general.
https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/AdoptingMultitaskingOniPad/index.html


I just saw this error and after reading the comments, I surely want to support iPad and multi-window use. This is as simple as checking Device Orientation options "Landscape Left" and "Landscape Right" and making sure that my UI supports these.

Best way I found to test for good multi-window support is to use the resizable simulators, or better in my opinion, use the iPad Pro in XCode 7.1 and actually activate the multi-window feature by dragging from the right. After taking these steps, I my app supports these features and I'm able to quickly see what I need to update or optimize to fully support them.


By default the Device Orientation only enables Portrait, Landscape Left, and Landscape Right. You need to enable the Upside Down as well.

enter image description here


“Clean Build Folder” and build again

I got the All interface orientations must be supported unless the app requires full screen. message today in Xcode 7.3.1, seemingly for no reason, no related change that I made.

  • I do have a LaunchScreen.storyboard
  • I have not checked Requires full screen.

I tried the usual maneuver when Xcode leaves me puzzled about some-new-error-for-no-good-reason:

  1. Hold down Option key while clicking the Product menu.
  2. Choose Clean Build Folder (not Clean).
  3. Choose Product > Build.

No more problem. After a few more build-and-run sessions, the error message has yet to re-appear.