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?
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?
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:
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.
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.
You can either do it as André showed or directly add:
<key>UIRequiresFullScreen</key>
<true/>
On your .plist file.
Setting the launch storyboard should be as simple as selecting the required storyboard as Launch Screen File in the "General" settings for the target. This not only avoids spelling mistakes, it also ensures that the storyboard is included in the bundle.
However, if the storyboard has been selected in this way and support for multiple windows is included, uploading to the App Store will fail as per the OP:
Asset validation failed
Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchPage.storyboard launch storyboard file in your app bundle
One way to resolve this is to check "requires full screen" (see other answers), but this will disable split screen functionality on an iPad -> not good.
The key thing is, the name of the storyboard must not have a .storyboard extension.
That's it!
If you want to support split views in iPad, in your info.plist file, set just "LaunchScreen
" as the value for key "UILaunchStoryboardName
", instead of "LaunchScreen.Storyboard
" and you need to support all 4 orientations for iPad.
I wanted to allow split screen, and I already had a launch screen storyboard. Ends up I needed to remove the ".storyboard" from my plist. See UILaunchStoryboardName.
Go to Targets > Info > "Launch screen interface file base name" and change it to LaunchScreen
.
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.
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/>
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
If you use Blazor MAUI you need to add UILaunchStoryboardName entry into info.plist file:
<key>UILaunchStoryboardName</key>
<string>MauiSplash</string>
© 2022 - 2024 — McMap. All rights reserved.