【发布时间】:2015-08-02 02:39:38
【问题描述】:
我知道这个错误以前出现过,但大多数解决方案都对我不起作用,我真的不知道该怎么做,所以有人可以一步一步带我解决吗?谢谢!:
您好,我创建了一个应用程序,但在归档后将其提交到 App Store 时被此错误阻止:
您的二进制文件未针对 iPhone 5 进行优化 - 提交的新 iPhone 应用程序和应用程序更新必须支持 iPhone 5 上的 4 英寸显示屏,并且必须包含在 UILaunchImages 下的 Info.plist 中引用的启动图像,并将 UILaunchImageSize 值设置为 { 320, 568}。启动图像必须是 PNG 文件并且位于包的顶层,或者如果您本地化启动图像,则在每个 .Iproj 文件夹中提供。
我已将图像放入 Base.Iproj 文件夹,它们的尺寸正确。
这是我的 Info.plist 中的代码:
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>(NOT SHOWING MY BUNDLE ID)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreeniphone5.png</string>
<key>UILaunchImageFile~iphone</key>
<string>LaunchScreeniphone5.png</string>
<key>UILaunchImageFile</key>
<string>LaunchScreeniphone5.png</string>
<key>UIMainStoryboardFile</key>
<string>Main</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
<string>gamekit</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UILaunchImages</key>
<array>
<dict>
<key>UILaunchImageMinimumOSVersion</key>
<string>7.0</string>
<key>UILaunchImageName</key>
<string>Default-568h@2x </string>
<key>UILaunchImageOrientation</key>
<string>Portrait</string>
<key>UILaunchImageSize</key>
<string>{320, 568}</string>
</dict>
</array>
</dict>
</plist>
但是,另一个问题是,并非所有这些内容都显示在项目的 Info.plist 中!
请帮忙!
【问题讨论】:
标签: ios iphone app-store submit