Xcode 验证时出错 - “您的二进制文件未针对 iPhone 5 进行优化”

Xcode error while validation - “Your binary is not optimized for iPhone 5”

启动 Titanium SDK 5.2.0,我为启动屏幕启用了故事板:

<enable-launch-screen-storyboard>true</enable-launch-screen-storyboard>

我在 app/assets/iphone (as instructed) 下设置了 LaunchLogo 图像集(5 个文件)。

在模拟器和设备上找到作品。但是当我提交到应用商店时,我得到了这个错误:

ERROR ITMS-9000: "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 UILaunchImage 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.

Appcelerator 端有什么我可能遗漏的或有什么问题吗?谢谢!

原来如果你的应用支持iOS7,你还需要提供iPhone5启动屏幕PNG文件,除了故事板。

或者你可以放弃 iOS 7 支持。

这都是关于应用程序版本的...

目前,如果您支持 iOS 8,您仍然需要提供 4 英寸设备的启动图像,因为 4 英寸设备可以更新到 iOS 8 或更高版本。

例如,我的应用程序支持 iOS 8,但这意味着我支持所有可以更新到 iOS 8 的设备。这包括以下 4 英寸设备.. iPhone 5、iPhone5S,iPhone5C,iPod Touch 5G 和 iPod Touch 6G。

要正确支持此功能,请转到 LaunchImage,单击属性检查器,然后在 iOS 6 和 Prior 下单击 select Portrait 或 Landscape。现在添加一个 1x 图像(320 x 480 像素)。现在您可以正确支持 4 英寸设备的 LaunchImage。

将来,查看您支持的 iOS 版本,然后查看哪些设备可以更新到该版本并为这些设备提供 LunchImages。这将有助于确定支持的设备 https://en.wikipedia.org/wiki/List_of_iOS_devices