ERROR ITMS-90096: "Your binary is not optimized for iPhone 5"

No matter what I do, I now get this error when submitting to iTunes Connect.

ERROR ITMS-90096: "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/ios/human-interface-guidelines/graphics/launch-screen."

I’ve have followed the instructions here: https://docs.coronalabs.com/guide/distribution/launchFile/index.html

I have tried everything here: https://forums.coronalabs.com/topic/68599-error-itms-90096-your-binary-is-not-optimized-for-iphone-5-never-seen-this-msg-before/#entry356487

I have tried using “Asset Catalog Creator” and putting the launch screens inside the Images.xcassets folder with the icons.

A sample app with no launch screens works. However, when I copy “LaunchScreen.storyboardc” into my folder, that doesn’t work. 

Could it be related to the Splash Screen plugin?

Nothing works. Help!

I just uploaded an app to iTunes connect and it handled the launch images correctly.

The best thing to do is copy the entire Images.xcassets folder. It has important sub-folder content that has to be copied as well.

Rob

FOUND A SOLUTION:

  • I used “Asset Creator Catalog” to generate Launch screen files of various sizes (and the icons of various sizes). 

  • I renamed the Images.xcassets provided with by Corona to “Assets.xcassets”

  • I added an xcassets entry in the iphone section, and instead of “Images.xcasses” I used “Assets.xcassets”. I removed the  UILaunchStoryboardName entry!

    xcassets = “Assets.xcassets”, plist = { --UILaunchStoryboardName = “LaunchScreen”, – Required!

  • Asset Creator Catalog create a bunch of files, e.g. “Default-568h@2x.png”. I moved these files into the main project folder.

    Default-568h@2x.png Default-667h@2x.png Default-Landscape-736h@3x.png Default-Landscape-2436h@3x.png Default-Portrait-736h@3x.png Default-Portrait-2436h@3x.png Default.png Default@2x.png Default~ipad.png Default~ipad@2x.png Default~ipad~landscape.png Default~ipad~landscape@2x.png Default~ipad~landscape~nostatusbar.png Default~ipad~landscape~nostatusbar@2x.png Default~ipad~nostatusbar.png Default~ipad~nostatusbar@2x.png

This passed with Apple, and I was able to upload the file.

Not a perfect solution — I don’t really understand what happened.

I just uploaded an app to iTunes connect and it handled the launch images correctly.

The best thing to do is copy the entire Images.xcassets folder. It has important sub-folder content that has to be copied as well.

Rob

FOUND A SOLUTION:

  • I used “Asset Creator Catalog” to generate Launch screen files of various sizes (and the icons of various sizes). 

  • I renamed the Images.xcassets provided with by Corona to “Assets.xcassets”

  • I added an xcassets entry in the iphone section, and instead of “Images.xcasses” I used “Assets.xcassets”. I removed the  UILaunchStoryboardName entry!

    xcassets = “Assets.xcassets”, plist = { --UILaunchStoryboardName = “LaunchScreen”, – Required!

  • Asset Creator Catalog create a bunch of files, e.g. “Default-568h@2x.png”. I moved these files into the main project folder.

    Default-568h@2x.png Default-667h@2x.png Default-Landscape-736h@3x.png Default-Landscape-2436h@3x.png Default-Portrait-736h@3x.png Default-Portrait-2436h@3x.png Default.png Default@2x.png Default~ipad.png Default~ipad@2x.png Default~ipad~landscape.png Default~ipad~landscape@2x.png Default~ipad~landscape~nostatusbar.png Default~ipad~landscape~nostatusbar@2x.png Default~ipad~nostatusbar.png Default~ipad~nostatusbar@2x.png

This passed with Apple, and I was able to upload the file.

Not a perfect solution — I don’t really understand what happened.