524

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?

8 Answers 8

892

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.

10
  • 3
    Well, my iPad app happily flew through the Validate option in Xcode, but failed to upload to iTunes Connect (with the error you quoted). So my app never got as far as iTunes ! (Btw, WHY doesn't this error/warning occur earlier in the build process ?!) Commented Jul 28, 2016 at 12:28
  • 61
    Just to add, Xcode 7.3.1 didn't recognise this "UIRequiresFullScreen" setting - BUT - it has now been added as a checkbox under Targets \ General \ Deployment Info. "Requires full screen". Commented Jul 28, 2016 at 12:33
  • 13
    @MikeGledhill, that is a good question, why this error was not identified earlier in the build. That is just stupid to invalidate it at the last step. Publishing on App Store is just a mess, Google Play is way cheaper and cleaner.
    – Eduardo
    Commented Sep 13, 2016 at 22:57
  • 8
    @Eduardo: Couldn't agree more. Xcode continues to be a thoroughly horrible development environment (despite Tim Cook praising it and giving away iPads to school kids to get them interested in using it.) I remember learning Turbo Pascal 5.5 at school.... Ahhh, happy days... Commented Sep 14, 2016 at 14:27
  • 2
    Xcode seriously sucks. It's good some things work, like this answer.
    – user5306470
    Commented Nov 20, 2018 at 23:49
657

In Xcode, check the "Requires Full Screen" checkbox under General > Targets, as shown below.

enter image description here

4
  • Why this option is also available for iPhone-only app? What will happen if I checked "Requires full screen" for an iPhonely-only app (not iPad-only or universal app)?
    – goodbyeera
    Commented Jan 5, 2016 at 5:44
  • 1
    @goodbyeera, looks like you created a topic for this here: stackoverflow.com/q/34608826/1956540 Commented Jan 5, 2016 at 14:12
  • 1
    I had to check this box and added a couple of icon images for the iPad. Then upload to App Store was successful.
    – Jervisbay
    Commented May 15, 2016 at 9:31
  • In Xcode 12.1 I would just add, that after you've added "Requires Full Screen" make sure you still have both iPhone and iPad checkboxes ticked under General / Deployment info (provided your app supported both before). Otherwise you will get this error when archiving: "This bundle does not support one or more of the devices supported by the previous app version. Your app update must continue to support all devices previously supported." See this link for more info: stackoverflow.com/questions/19925245/…
    – Zenman C
    Commented Dec 10, 2020 at 6:02
84

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.

2
  • 1
    I am using Telerik's VS plugin, so this helped me, thank you.
    – xinthose
    Commented Nov 16, 2015 at 22:30
  • 2
    This is now supported in Xamarin
    – Francesco
    Commented Apr 29, 2016 at 15:24
44

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

  • Portrait
  • Upside Down
  • Landscape Left
  • Landscape Right

In this case, we need to support launch storyboard.

11

Unchecked all Device orientation and checked only "Requires full screen". Its working properly

1
  • Thank you so much..It is worked for me..It is very easy to understand.
    – Jagat Dave
    Commented Apr 30, 2016 at 9:35
6

Go to your project target in Xcode > General > Set "Requires full screen" (under Hide status bar) to true.

4

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

-1

You need to add Portrait (top home button) on the supported interface orientation field of info.plist file in xcode

enter image description here

1
  • 3
    If you remove the two landscape modes (item 2 and item 3) in your supported interface orientations do you not get the same error as OP in the review process? At least that's what I got when I tried.
    – Morten
    Commented May 9, 2019 at 7:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.