Xcode9打包報90096錯誤

問題描述,在xcode8打包沒問題,但是在xcode9打包的時候就報這個錯

ERROR ITMS-90096:"Your binary is not optimized for iPhone 5 - New iPhone apps and appupdates submitted must support the 4-inch display on iPhone 5 and must includea launch image referenced in the Info.plist under UILaunchImages with aUILaunchImageSize value set to {320, 568}. Launch images must be PNG files andlocated at the top-level of your bundle, or provided within each .lproj folderif you localize your launch images. Learn more about iPhone 5 support and applaunch images by reviewing the 'iOS Human Interface Guidelines' athttps://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen."

網上的解決方法是需要單獨添加針對iPhone5的載入圖片。關鍵點有三項:

1.圖片的名稱必須叫Defatult-568.png.

2.必須把圖片放在工程的根目錄下

3.圖片尺寸必須是320*568

然后在plist中添加


按照網上的說法依舊解決不了,折騰了半天,查看原來是自己的LaunchImage命名不規范造成的,刪掉之前的LaunchImage文件,重新命名在拖進去重新打包就可以了具體命名規則:


最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容