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

Pawan picture Pawan · Mar 3, 2015 · Viewed 42.1k times · Source

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 screenshot

I think i have already uploaded all the right icons and splash screen images. It says something about the launchimage for 4-inch display on iphone-5 but i have no idea where to add it.

here is my launch image source.

launch image source

i am fairly new to ios development i have a small android background and the ios process of adding and submitting apps seems quite alien to me.

Answer

Danpe picture Danpe · Oct 9, 2015

Update August 2016

When using Xcode 7+ and targeting iOS 8+ it is recommended to remove the .xib file and create a new LaunchScreen.storyboard by using the given template: Add Files...

And than setting it in the Project File under App Icons and Launch Images: App Icons and Launch Images


Original October 2015 Answer

So like @Aditya Deshmane I also use .xib file as my "Launch Image".

Adding both Default-568.png and [email protected] to my root directory didn't solve my issue.

I had to add the UILaunchImages key to my Info.plist:

<key>UILaunchImages</key>
<array>
    <dict>
        <key>UILaunchImageName</key>
        <string>Default-568</string>
        <key>UILaunchImageSize</key>
        <string>{320, 568}</string>
    </dict>
</array>

Info.plist As described here: iOS Key UILaunchImages