我正在使用 LaunchScreen.xib 作为我的启动屏幕,但在尝试发布应用程序时我不断收到此错误。
为什么会这样以及如何避免这种情况?现在我有一个空的 xib,纯白色。
错误:
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/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5'
and the 'iOS App Programming Guide' at
'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'."
我的 info.plist 的图像:
Best Answer-推荐答案 strong>
我认为您使用 7.0 作为您的部署目标,因此使用 Asset Catalog 并添加所有启动屏幕而不是 Launch Screen.xib 文件,这将解决您的问题。
关于ios - 使用 LaunchScreen.xib 时,二进制文件未针对 iPhone 5 错误进行优化,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/34852881/
|