Reputation: 7081
I'm trying to submit my universal iOS 9 apps to Apple (built with Xcode 7 GM) but I receive this error message for the bundle in iTunes Connect, just when I select Submit for Review:
Invalid Bundle. iPad Multitasking support requires these orientations: 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown,UIInterfaceOrientationLandscapeLeft,UIInterfaceOrientationLandscapeRight'. Found 'UIInterfaceOrientationPortrait,UIInterfaceOrientationPortraitUpsideDown' in bundle 'com.bitscoffee.PhotoMarks.iOS'.
My app has support for Portrait and PortraitUpsideDown orientations but not for the other two.
So is there a workaround for this imposed requirement, or all iOS 9 iPad apps have to have all four orientations?
Upvotes: 538
Views: 167979
Reputation: 13294
Tested 100% Working Latest Solution
info.plist file in a text editor and add the lines
<key>UIRequiresFullScreen</key>
<true/>
OR
under General > Targets, check the "Requires Full Screen" checkbox
Upvotes: 4
Reputation: 181
you can specify all of them in you info.plist
<plist version="1.0">
<dict>
...
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
...
or like the others only
<key>UIRequiresFullScreen</key>
<true/>
Upvotes: 0
Reputation: 2090
You need to add Portrait (top home button) on the supported interface orientation field of info.plist file in xcode
Upvotes: -1
Reputation: 4104
I am using Xamarin and there is no available option in the UI to specify "Requires full screen". I, therefore, had to follow @Michael Wang's answer with a slight modification. Here goes:
Open the info.plist file in a text editor and add the lines:
<key>UIRequiresFullScreen</key>
<true/>
I tried setting the value to "YES" but it didn't work, which was kind of expected.
In case you are wondering, I placed the above lines below the UISupportedInterfaceOrientations section
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
Hope this helps someone. Credit to Michael.
Upvotes: 85
Reputation: 10223
iPad Multitasking support requires all the orientations but your app does not, so you need to opt out of it, just add the UIRequiresFullScreen
key to your Xcode project’s Info.plist
file and apply the Boolean value YES
.
Upvotes: 911
Reputation: 110
As Michael said check the "Requires Full Screen" checkbox under General > Targets
and also delete the 'CFBundleIcons-ipad' from the info.plst
This worked for me
Upvotes: 4
Reputation: 3193
Unchecked all Device orientation and checked only "Requires full screen". Its working properly
Upvotes: 11
Reputation: 8891
In Xcode, check the "Requires Full Screen" checkbox under General > Targets, as shown below.
Upvotes: 670
Reputation: 316
Go to your project target in Xcode > General > Set "Requires full screen" (under Hide status bar) to true.
Upvotes: 7
Reputation: 3181
as Michael said,
Check the "Requires full screen" of the target of xcodeproj, if you don't need to support multitasking.
or Check the following device orientations
In this case, we need to support launch storyboard.
Upvotes: 44