Xcode 7 Beta warnings: Interface Orientations and Launch Storyboard

IosXcode

Ios Problem Overview


I opened my project in Xcode 7 beta and I am getting the following warnings which I do not get in Xcode 6:

 All interface orientations must be supported unless the app requires
 full screen.


 A launch storyboard or xib must be provided unless the app requires
 full screen.

The app uses Portrait orientation for devices only, and I have it set that way. I also have storyboards for both iphone and ipad interfaces. I can't determine why I am getting these warnings. Is this an Xcode 7 beta bug?

Ios Solutions


Solution 1 - 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 :-)

Solution 2 - Ios

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 :)

Solution 3 - Ios

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

Solution 4 - Ios

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.

Solution 5 - Ios

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

Solution 6 - Ios

“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.

Solution 7 - Ios

Have you provided a "Launch Storyboard" for your app? Or have you just provided static images for the various sizes.

Check here: https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html

Solution 8 - Ios

Set UIRequiresFullScreen to YES in Info.plist. And tick Requires full screen.enter image description here

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
Questionbachma0507View Question on Stackoverflow
Solution 1 - IosSimon TillsonView Answer on Stackoverflow
Solution 2 - IosYangXiaoyuView Answer on Stackoverflow
Solution 3 - IosRohit GoyalView Answer on Stackoverflow
Solution 4 - Iosd2burkeView Answer on Stackoverflow
Solution 5 - IosCosmicMindView Answer on Stackoverflow
Solution 6 - IosBasil BourqueView Answer on Stackoverflow
Solution 7 - IoscbigginView Answer on Stackoverflow
Solution 8 - IosPrasad PatilView Answer on Stackoverflow