无效的二进制文件:截至 5 月 1 日,您的二进制文件未针对 iPhone 5 进行优化

无效的二进制文件:截至 5 月 1 日,您的二进制文件未针对 iPhone 5 进行优化

问题描述:

我首先导入了所有 3 个启动图像

I had imported all 3 Launch Images First

1: 320 x 480    
2: 640 x 960 (Retina 3.5-inch)    
3: 640 x 1136 (Retina 4-inch)    

它们具有以下所需的默认名称:

they have the following default names that are needed:

1:Default.png   
2:Default@2x.png   
3:Default-568h@2x.png   

并收到警告的拒绝:

iPhone 5 优化要求 - 您的二进制文件未针对iPhone 5.截至 5 月 1 日,所有新的 iPhone 应用程序和应用程序更新都已提交必须支持 iPhone 5 上的 4 英寸显示屏.所有应用程序必须包含一个紧跟在 -568h 大小修饰符之后启动图像启动图像文件名的basename"部分.启动图像必须是 PNG 文件并位于您的包的顶层,或提供如果您本地化启动图像,则在每个 .lproj 文件夹中.学习通过查看 iOS,了解有关 iPhone 5 支持和应用程序启动图像的更多信息人机界面指南和 iOS 应用程序编程指南.

iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All apps must include a launch image with the -568h size modifier immediately following the "basename" portion of the launch image's filename. 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 and iOS App Programming Guide.

即使添加:

Default-568h.png  of  size  320 x 568  

然后也得到同样警告的拒绝

then also get the rejection with the same Warning

启动图片NAME或SIZE的问题在哪里

Where is the problem in launch image NAME or in SIZE

您命名大应用程序图标的方式是正确的Default-568h@2x.png".如果您的应用使用任何背景图片,请确保该图片适用于 iPhone 5.

The way you named the large app icon is correct "Default-568h@2x.png". If you are using any background image for your app, make sure the image exists for iPhone 5.

我猜您正在尝试支持旧版本的 iPhone,例如 3G.Apple 停止支持旧版本的 iPhone.为了克服您所面临的这个问题,您所要做的就是使用最新的 SDK 进行编译.在项目构建设置中保留 armv7 架构.并保持部署目标 >= 4.3 SDK.这是解决您问题的方法.

I guess you are trying to support older versions of iPhone like 3G. Apple stopped supporting older versions of iPhone. To overcome this issue what you are facing, all you have to do is compile with latest SDK. Keep armv7 architecture in Project build settings. And keep deployment target >= 4.3 SDK. This is the fix for your issue.