无法将带有情节提要启动图像的应用程序提交到App Store:您的二进制文件未针对iPhone 5进行优化 [英] Can't submit the app with storyboard launch images to the App Store: Your binary is not optimized for iPhone 5
问题描述
我正在尝试将我的第一个应用程序提交到App Store,但是当我尝试时,我收到以下错误:
I am trying to submit my first app to the App Store but when I try I am getting the following error:
ERROR ITMS -9000:您的二进制文件未针对iPhone 5进行优化 - 提交的新iPhone *应用程序和应用程序更新必须支持iPhone 5上的4英寸显示屏
,并且必须包含$ b $中引用的启动图像在UILaunchImage下的b info.plist,UILaunchImageSize值设置为
{320,568}。启动图像必须是PNG文件,位于捆绑包的
顶级,或在每个.lproj文件夹中提供如果您
本地化您的启动图像。
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.
我正在使用SDK 8.1。部署目标是8.0。启动图像设置通过storyboard启动屏幕文件。没有过时的启动屏幕图像,我不打算添加它们,因为目标系统是iOS 8 +。
I'm using SDK 8.1. Deployment target is 8.0. Launch images are set by storyboard launch screen file. There is no obsolete launch screen images and I don't plan to add them because target system is iOS 8+.
有什么问题?Xcode版本6.1(6A1052d)。
What is wrong? Xcode version 6.1 (6A1052d).
推荐答案
重命名故事板启动s creen文件到'LaunchScreen.storyboard'。
Rename storyboard launch screen file to 'LaunchScreen.storyboard'.
如果使用File - > New - > File创建一个新的Launch Screen文件,Xcode将默认名称为'Launch Screen .storyboard。
If you create a new Launch Screen file using File -> New -> File, Xcode will default the name to 'Launch Screen.storyboard'.
但是,创建新项目时Info.plist中指定的默认名称是LaunchScreen.storyboard,没有空格。
However, the default name specified in your Info.plist when creating a new project is 'LaunchScreen.storyboard' without the space.
这篇关于无法将带有情节提要启动图像的应用程序提交到App Store:您的二进制文件未针对iPhone 5进行优化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!