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

前端 未结 17 2056
暗喜
暗喜 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 04:06

    Question is already answered and works as well, just adding one more answer as i got similar error in different scenario.

    In my case i was using LaunchScreen.xib which is alternative to using splash images.

    https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/LaunchImages.html

    As stated in above link "In iOS 8 and later, you can create a XIB or storyboard file instead of a static launch image."

    But even after using XIB i got this error.

    To solve this i took screenshot of splash from 4 inch device running iOS 8, which was 640 × 1136 pixel. Renamed it to "Default-568h@2x.png" added it to top level in project bundle.

    Reason behind this error could be :

    When apple transitioned from 3.5 inch devices to 4.0 devices, this image was compulsory otherwise app used to run in letterbox mode ( On 4 inch devices you will see black bars on top and bottom of application ). So when i tried to run my application on 4 inch device/simulator running iOS 7.1 it was indeed running into letterbox mode ( when i only used .xib based splash ). The moment i added "Default-568h@2x.png" letterbox mode gone plus apple approved app.

提交回复
热议问题