Skip to main content
August 16, 2013
Question

iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5.

  • August 16, 2013
  • 2 replies
  • 2197 views

This issue is really confusing me:

My development ambient is Mac (OS 10.7.5) and Flash Builder 4.6. The project is AS mobile (a puzzle game).

After finally getting over the bureucratic process of having my company approved with Apple, I submited my app to the store yesterday, using Application Loader. A minute or so after the upload, the app's status on iTunes connect changed to invalid binary and I got an email with the error's description:

iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. New iPhone apps and app updates submitted targeting iOS 6 and above must support the 4-inch display on iPhone 5 and must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image's filename. 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 and iOS App Programming Guide.

Looking for a solution, I got the guides that tell you to make a 640x1136px Default-568h@2x.png picture and place it at the project root. I did that, recompiled, re-submited and got exactly the same error again.

I've been reading about what can still be wrong. In the process I upgraded the air framework I'm using from 3.5 to 3.7 (3.8 didn't work with an ANE the project uses, so I reverted to 3.7), tried to place the image on landscape, tried to change the color depth (it's currently 24bit) without any luck.

Do I need to change something else in the process to send the image? I "know" that if I remove Default.png from the project root and compile the IPA, Apple's Application Loader accuses that the Launch Screen is missing and refuses to make the upload, so it seems that the images are in the right place. I've read that in Flash Professional you need to update a xml to reference the image, but there's no place to reference the launch images on the application.xml my project uses. The icons are described there and work correctly.

I'm really at the end of my wits here. Any help, specially from someone who already got over this problem, would be greatly appreciated.

Thanks in advance,

This topic has been closed for replies.

2 replies

August 16, 2013

I was reading another thread here about the same problem, at http://forums.adobe.com/thread/1198630

Reading there about checking that the images appear on the Build Packaging has me wondering if I'm doing something wrong at that part. Here's a cap of my build packaging screen:

The launch images don't appear there, and I can't find how to manually add them there.

The images are at the root of my project, as you can see here:

How can I ensure that the images are being packaged correctly? When I first tried to send the App, the Application Loader complained that there was not a launch image, which I fixed by creating a Default.png, placing it at the project root and re-compiling. So at least that image seems to be packed correctly.

August 19, 2013

Any idea of what's wrong here? How can I check if an image is being correctly packed into the ipa?

August 19, 2013

Problem solved, so here's what worked, in the case somebody else has the same issue:

Colin Holgate
Inspiring
August 16, 2013

What is requestedDisplayResolution set to?

August 16, 2013

it's "high".