1. 程式人生 > >iOS APP打包遇到的問題和解決辦法總結 (待更新)

iOS APP打包遇到的問題和解決辦法總結 (待更新)

**

1.App提交報錯 -22421

**
解決辦法:用Application Loader上傳包
遇到這樣的情況或者錯誤程式碼-22421錯誤,可直接點選Done 然後通過右邊的Export直接生成IPA包,然後下載Application Loader,通過Application Loader直接上傳,Application Loader的配置十分簡單
這裡寫圖片描述

**

2.報以下錯誤

3.

ERROR ITMS-90096: “Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the ‘iOS Human Interface Guidelines’ at

https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen.”ERROR ITMS-90096: “Your binary is not optimized for iPhone 5 - New iPhone apps and app updates submitted must support the 4-inch display on iPhone 5 and must include a launch image referenced in the Info.plist under UILaunchImages with a UILaunchImageSize value set to {320, 568}. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the ‘ios Human Interface Guidelines’ at
https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen
.
解決辦法:
第一步、把Launch Screen File清空 然後使用Launch Screen Source 在Launch裡面加640960 (4/4s) 2X位置
6401136 (5/5s/5c) R4位置
7501334 (6) R4.7位置
12422208 (6 plus) R5.5位置
第二步、info.plist加入圖片中的欄位
這裡寫圖片描述

君凱商聯網-iOS-字唐名僧