gpt4 book ai didi

xcode - "Your binary is not optimized for iPhone 5"在我使用 xcode 6.0.1 上传应用程序后

转载 作者:行者123 更新时间:2023-12-03 13:26:25 24 4
gpt4 key购买 nike

在使用 Xcode 版本 6.0.1 (6A317) 上传我的二进制文件后,我收到了这封电子邮件

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 .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' at 'https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/IconsImages/IconsImages.html#//apple_ref/doc/uid/TP40006556-CH14-SW5' and the 'iOS App Programming Guide' at 'https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW12'.



这是我的 plist 文件:

enter image description here

这是我的 Xcode 树:

enter image description here

这是我的捆绑根树:

enter image description here

这是我能找到的关于此问题的唯一资源,但仍未得到答复(3 天前)... https://devforums.apple.com/message/1051948#1051948

最佳答案

更清楚:

  • 将您的启动图像源更改为“启动图像”(按照@Charlie Hung 回答中的步骤 1-3 进行操作)。

  • enter image description here
  • 右键单击您的项目并选择“在 Finder 中显示”
  • 查找文件夹 Assets .xcassets 并打开它
  • 打开 LaunchImage.launchimage 文件夹并将您的两个图像移动到您可以在项目中找到的 .Iproj 文件夹中。 (我的被称为 Base.Iproj)。

  • 最后,将其添加到您的 info.plist(在文本编辑器中打开):
    <key>UILaunchImages</key>
    <array>
    <dict>
    <key>UILaunchImageMinimumOSVersion</key>
    <string>7.0</string>
    <key>UILaunchImageName</key>
    <string>iOS7-Default </string>
    <key>UILaunchImageOrientation</key>
    <string>Portrait</string>
    <key>UILaunchImageSize</key>
    <string>{320, 480}</string>
    </dict>
    </array>

    这就是我必须做的。

    关于xcode - "Your binary is not optimized for iPhone 5"在我使用 xcode 6.0.1 上传应用程序后,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26182966/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com