無效的捆綁錯誤 - “需要啓動故事板”

本文翻譯自:Invalid Bundle Error - “requires launch storyboard”

I keep getting this error when I try to submit my app to the store using Xcode: 當我嘗試使用Xcode將我的應用程序提交到商店時,我不斷收到此錯誤:

ERROR ITMS-90475: "Invalid Bundle. iPad Multitasking support requires launch storyboard in bundle 'com.companyname.appname.'" ERROR ITMS-90475:“無效的捆綁包.iPad多任務支持需要在捆綁'com.companyname.appname'中啓動故事板。”

Anyone know what this error really means? 有誰知道這個錯誤到底意味着什麼?


#1樓

參考:https://stackoom.com/question/2CblX/無效的捆綁錯誤-需要啓動故事板


#2樓

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. 如果您必須選擇退出幻燈片放映和拆分視圖,請通過將UIRequiresFullScreen鍵添加到Xcode項目的Info.plist文件並顯示布爾值YES來明確執行此操作。


#3樓

This is because you need to specify how your app is supposed to handle multitasking on iPad. 這是因爲您需要指定應用程序在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: 如果您現在不想處理多任務處理,只需轉到目標的“常規”選項卡即可將其禁用:

在此輸入圖像描述


#4樓

You need to add a Launch Screen (Xcode > File > New). 您需要添加啓動屏幕(Xcode>文件>新建)。 Under iOS > User Interface you select "Launch Screen" to add it to the project. 在iOS>用戶界面下,選擇“啓動屏幕”將其添加到項目中。

For the iPad you need to support all 4 orientations. 對於iPad,您需要支持所有4個方向。

Select in Xcode your target file, and under the General Tab, go to the "App icons and Launch Images". 在Xcode中選擇目標文件,然後在“常規”選項卡下,轉到“應用程序圖標和啓動圖像”。 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. 啓動應用程序時,您將看到未使用啓動(位圖)圖像,但啓動屏幕故事板。


#5樓

You can either do it as André showed or directly add: 你可以像安德烈展示或直接添加:

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

On your .plist file. 在.plist文件中。


#6樓

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 ?) 如果您使用的是Cordova,您可能需要使用cordova-ios-requires-fullscreen插件(請參閱如何通過Ionic / Cordova禁用iOS9多任務處理 ?)

Update : you can also use the cordova-plugin-ipad-multitasking , which seems to also prevent another issue (ITMS-90474) 更新 :您還可以使用cordova-plugin-ipad-multitasking ,這似乎也可以防止出現其他問題(ITMS-90474)

Update : this should now be fixed using Cordova tools 5.4 without the need for these plugins. 更新 :現在應使用Cordova工具5.4修復此問題,而無需使用這些插件。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章