storyboardappceleratorappcelerator-titaniumlaunchimage

Xcode error while validation - “Your binary is not optimized for iPhone 5”


Starting Titanium SDK 5.2.0, I enabled storyboard for launch screen:

<enable-launch-screen-storyboard>true</enable-launch-screen-storyboard>

I have the LaunchLogo image set (5 files) under app/assets/iphone (as instructed).

Works find on simulators and devices. But when I submitted it to the app store, I got this error:

ERROR ITMS-9000: "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 UILaunchImage 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.

Anything I could miss or something wrong from Appcelerator's end? Thanks!


Solution

  • Turns out if your app supports iOS 7, you still need to provide iPhone 5 Launch Screen PNG files, besides the storyboard.

    Or you can just drop iOS 7 support.