无法使用 XCode 7 上传到 App Store

Unable to upload to App Store using XCode 7

-背景 此问题仅在使用 XCode 7.0 或更高版本时发生,但之前都没有。 该项目仅对源代码进行了细微更改,但资产文件和情节提要均未更改。

-问题 成功存档项目并在按下上传到 App Store 后等待过程完成。 如下错误提示

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 .Iproj folder if you localized your launch images.

但是,启动图像从未设置并且存在于项目中,因此我发现没有关于如何解决此问题的线索和提示。确认配置可以在 XCode 6.4.

或之前工作

请多指教

不要使用 Main 作为启动屏幕故事板。 Main 是你的主要故事板;当应用程序实际运行时,它是您的 界面 的来源。使用单独的启动屏幕故事板作为您的 launch 故事板;它的结构完全不同,正确的结构就能解决问题。

LaunchScreen 文件应该是 xxx.Storyboard 实际上,Main 是设计所有视图的主故事板文件。你应该用 LaunchScreen.Storyboard 或 LaunchScreen.xib 来改变它......但是如果你有 image.assets 你可以点击使用资产目录然后在启动图像中填写你需要的所有尺寸的所有图像. (如果你要使用目录,不要忘记清除启动屏幕文件名(留空))