ChatGPT解决这个技术问题 Extra ChatGPT

Invalid Bundle Error - "requires launch storyboard"

I keep getting this error when I try to submit my app to the store using Xcode:

ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch storyboard in bundle 'com.companyname.appname.'"

Anyone know what this error really means?

Please note I have just updated to Xcode 7 GM today and already submitted an app to the store.
So I was using Xcode 7 GM when submitting.
Did you figure this out?
Nope I went to sleep.

A
André Rodrigues

This is because you need to specify how your app is supposed to handle multitasking on iPad.

If you don't want to handle multitasking right now, you can simply disable it by going to the "General" tab of your target:

https://i.stack.imgur.com/T9VOj.png


Is there any way to get this to work without checking the "Requires full screen" check box?
@msimons Yes: make your app compatible with iPad multitasking and there is no need to check the box. The "Requires full screen" check box is just to use in case your app can't handle multitasking at the moment. Anyway your app need to specify to the OS if it's compatible or not with multitasking, otherwise Apple doesn't let you to submit to the App Store.
Why didn't they make this the default and require developers to opt in to multi-tasking? The app submission process was already complicated enough!
@RupertRawnsley Probably because they want that the developers make their apps compatible with multi-tasking by default.
My app DOES use multitasking and it does not make use of storyboards, the error states a "launch storyboard" is required. If I have to incorporate storyboards into my app at this 99th hour it will be a disaster.
A
Adriaan

I solved the problem in this way, see here:

If you must opt out of Slide Over and Split View, do so explicitly by adding the UIRequiresFullScreen key to your Xcode project’s Info.plist file and apply the Boolean value YES.


G
GeeJad

You need to add a Launch Screen (Xcode > File > New). Under iOS > User Interface you select "Launch Screen" to add it to the project.

For the iPad you need to support all 4 orientations.

Select in Xcode your target file, and under the General Tab, go to the "App icons and Launch Images". Here you select the Launch Screen file you created. When you launch the app you'll see the launch (bitmap) images are not used, but the Launch Screen Storyboard.


This is the best answer. Note the complaint is that you need a launch storyboard - my app had a XIB file from some earlier version of XCode, but this is no good for iOS 9.
This is the alternative 'fix', if you want to handle the multitasking. If you have a current project and just need it to go through setting the Requires Full Screen flag is the quick fix, but you should probably look into using storyboards.
Best one! I update my old project and this is exactly what I need.
F
Francisco Caviano

You can either do it as André showed or directly add:

<key>UIRequiresFullScreen</key>
<true/>

On your .plist file.


Since Xcode 7.2 the general tab is gone and this seems to be the way to go now.
What? No it isn't. The General tab is not gone in Xcode 7.2.
D
Dinesh Vaitage

You can find "Requires full screen" checkbox under General > Targets

https://i.stack.imgur.com/V8EL7.jpg


G
Gyum Fox

If you are using Cordova, you might want to use the cordova-ios-requires-fullscreen plugin (see How to disable iOS9 multitasking through Ionic/Cordova?)

Update: you can also use the cordova-plugin-ipad-multitasking, which seems to also prevent another issue (ITMS-90474)

Update: this should now be fixed using Cordova tools 5.4 without the need for these plugins.


Issue still there on cordova 6.5.0
R
Ramkrishna Sharma

From Xcode 8.x. Please check the GIF representation.

https://i.stack.imgur.com/v7kh9.gif


h
hstdt

IF you ONLY want to set RequiresFullScreen For iPhone, and support iPad Multitasking, try this:

<key>UILaunchStoryboardName~ipad</key>
<string>LaunchScreenIPad.storyboard</string>
<key>UIRequiresFullScreen</key>
<true/>
<key>UIRequiresFullScreen~ipad</key>
<false/>

https://i.stack.imgur.com/L2aPi.png

LaunchScreenIPad.storyboard is the name of LaunchScreen for iPad.

iPhone will still use Launch Images Source pictures.

Apple Document Ref: Creating Platform- and Device-Specific Keys


this one works!!! if you set ' Requires full screen', you iPad will not supports multitasking(spliting screen).
R
Ramasie

Ooohhh This can work 100% Just Go On TARGETS (your App), General, Status Bar Style then Check Requires full screenSee scr shot