“Your binary is not optimized for iPhone 5” after I upload an app with xcode 6.0.1

后端 未结 8 1788
无人及你
无人及你 2020-12-01 08:07

I am getting this email after upload my binary with Xcode Version 6.0.1 (6A317)

Your binary is not optimized for iPhone 5 - - New iPhone apps and app

相关标签:
8条回答
  • 2020-12-01 08:55

    I got the same error, but in my case I didn't had the storyboard (xib) file for the launch image, which is needed:

    "You use a launch XIB or storyboard file to indicate that your app runs on iPhone 6 Plus or iPhone 6." (see here)

    I followed this tutorial to create it: https://developer.xamarin.com/recipes/ios/general/templates/launchscreen-xib/

    For step 9 of the turorial, in the Info.plist, I set:

    <key>UILaunchImageFile~iphone</key>
    <string>Launch Screen.storyboard</string>
    

    Just to verify, when you run your app, you should see your launch screen image before it loads. After I did this, I was able to upload the app to the app store.

    Steps showed above in other answers are also important: "If you also need to support earlier versions of iOS, you can continue to supply static launch images in addition to a launch file." (see here)

    Hope this helps.

    0 讨论(0)
  • 2020-12-01 09:03

    To Be more Clear:

    1. Change your launch image source to "Launch Image" (follow steps 1-3 in @Charlie Hung's answer).

    1. Right click on your project and select 'Show in Finder'
    2. Find folder Assets.xcassets and open it
    3. Open the LaunchImage.launchimage folder and move your two images to your .Iproj folder which you'll find in your project. (Mine was called Base.Iproj).

    Finally, add this to your info.plist (open in text editor):

    <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>
    

    This is all I had to do.

    0 讨论(0)
提交回复
热议问题