“Your binary is not optimized for iPhone 5” (ITMS-90096) when submitting

前端 未结 17 1959
暗喜
暗喜 2020-12-01 03:24

this is my first ios app and when i try to submit it to the app store it gives me the ITMS-90096 error.

\"error

相关标签:
17条回答
  • 2020-12-01 03:41

    I've encountered such problem in my project. 1. The problem was using LaunchScreen.Xib without removing the LaunchImages in Images.assets. After delete LaunchImages from Images.assets, uploading is successfully completed. 2. Please set Deployment Target into over 8.0 If you want to deploy 7.0 too, you have to add launchimages.

    0 讨论(0)
  • 2020-12-01 03:45
    1. Check all those images are .PNG
    2. Put those images at root level of your project
    3. Add another splash.png with name "Default-568h@2x.png" for iPhone 5. Its size should be 640 × 1136 pixel.
    0 讨论(0)
  • 2020-12-01 03:45

    From iOS9, you should add launch images to your project root, not Images.xcassets folder. And set your launch images in info.plist with key UILaunchImages, for my example:

    <key>UILaunchImages</key>
    <array>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.1</string>
            <key>UILaunchImageName</key>
            <string>iPhone5Portrait</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>7.1</string>
            <key>UILaunchImageName</key>
            <string>iPhone6Portrait</string>
        </dict>
    </array>
    
    0 讨论(0)
  • 2020-12-01 03:46

    Similarly to @Sanghoon, when I got this problem it was due to to targeted versions of iOS for which no iPhone Portrait launch image was specified (though it worked fine in XCode 6)

    I'm not fond of placing all the launch images in the root folder, image catalogs work more elegantly and you don't have to name the files according to the @2x @3x convention since the image catalog takes care of it.

    My full answer here: https://stackoverflow.com/a/34792891/1014983

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

    Try to clear "Launch screen file" at "App icons and Launch images"

    Remove the laucnh Screen File: Remove name.

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

    In my case, I don't use LaunchScreen file but had a value in there. Deleting it like this worked:

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