15
votes

I had imported all 3 Launch Images First

1: 320 x 480    
2: 640 x 960 (Retina 3.5-inch)    
3: 640 x 1136 (Retina 4-inch)    

they have the following default names that are needed:

1:Default.png   
2:[email protected]   
3:[email protected]   

and Get the rejection with the warning :

iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All apps 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.

Even after adding:

Default-568h.png  of  size  320 x 568  

then also get the rejection with the same Warning

Where is the problem in launch image NAME or in SIZE

14
check whether all your xib supporting for iPhone 5(4 inch) also. Else you have to load it using separate .xib for 4 inch display..Navn
Thanks for reply but Its a Game App cocos2d and there is no xib fileDenny
The size of the Default-568h.png should be 640x1136Anil Varghese
See also rohitdhore1612.wordpress.com/2013/05/22/…‌​zation-requirement-your-binary-is-not-optimized-for-iphone-5/Muhammad Irfan

14 Answers

6
votes

The way you named the large app icon is correct "[email protected]". If you are using any background image for your app, make sure the image exists for iPhone 5.

I guess you are trying to support older versions of iPhone like 3G. Apple stopped supporting older versions of iPhone. To overcome this issue what you are facing, all you have to do is compile with latest SDK. Keep armv7 architecture in Project build settings. And keep deployment target >= 4.3 SDK. This is the fix for your issue.

7
votes

Well I have faced the same issue and found the solution by adding the [email protected] file at the root level As show in the image

enter image description here

And make sure you don't use image asserts for launch image, This solved my problem.

4
votes

For those who are using AIR:
(v3.9 at least)

Air automatically generates the icons folder with this default structure and names:

project/icons
   │
   ├── android
   │   ├── icons
   │   └── ...
   │
   └── ios
       ├── icons
       ├── Default.png
       ├── [email protected]         // Should be rename to [email protected]
       ├── Default-Landscape.png
       └── Default-Portrait.png

To solve this problem, [email protected] should be rename to [email protected].

3
votes

I couldn upload my binary unitly I clicked "Use Asset Catalog" and migrated launch images & icons.


enter image description here


After that I got this screen and clicked array:


enter image description here


At the end I had to drag/drop launch images from my resource folders into blank squares:


enter image description here


After this I was finally able to publish our app.

1
votes

Are you sure the 568h file is actually in PNG format? Also make sure that you provided support for iphone 5 for all your screens? Only adding [email protected] is not gaurantee for iphone 5 support. You have to check for framing of all your view for iphone 3.5" and 4" device.

You can do the framing by code or autoresizing that is other thing.

1
votes

Did you see how it iPhone 5 screen(on a device or simulator)? Try this

Name - [email protected]

Size - 640 X 1136

1
votes

I had the same problem today and finally got it solved!

The problem originates from a localized -568h@2x Launch image.

Normally localization works well, but apparently Apple did a major screw-up with their iPhone5 optimization validation script and it isn't localization aware.

So what I did to fix it is copy any [email protected] from one of the .lproj folders next to the lproj folders and add it to the target you are trying to compile/submit. This most likely will increase your package file by one unnecessary launch image (although compression should probably get rid of it) and will "trick" the validation script to rightfully accept your app binary.

1
votes

I get this if I am building with iOS 6 support enabled. By default it isn't enabled in Media.xcassets/LaunchImage as you can see by the unchecked box under iOS 6.0 in the attached screen grab (grey bit).

So tick that then you will see the empty slots appear as per the screenshot on the right above'iPhone Portrait 5,6'.

Now go back into your Xcode source directory and into the Launchimage.launchimage directory and drag the Dafault.png, [email protected] and [email protected] images to the relevant boxes.

QED - it fixes that iTunesConnect upload issue for me every time. enter image description here

0
votes

Can you please check proper format of your image? It should be in .png format. Because, name which you gave for default image is correct..So, please image format.

0
votes

There can be many reasons of Rejections , beside the launch images.

Read out the warning properly and check all the things mentioned in the warning.

Check the following link for further changes Apple has given for Application Uploading after 1st May. May 1 deadline for app changes

0
votes

For iPhone 5 the image size will be 640 x 1136 pixels(@2x). Try this it will help you.

0
votes

As of May 1 every app needs to fully support iPhone 5. not only launch Screen but all the UI aspects of your app needs to be fully compatible with iPhone 5.

0
votes

If you localized launch images, you have to put launch images in every .lproj folder even if this .lproj folder was not added directly by you.

I encountered this problem. I am using appirater which provides many localizations (many .lproj folders are added into the target). However I only localized launch images for several languages I need. So my app was rejected because there were no launch images in some .lproj folders. The solution is simple. Removed unnecessary localizations or localize launch images for all languages.

There are detailed steps to resolve this issue caused by appirater on my blog. http://vinceyuan.blogspot.hk/2013/08/a-weird-reason-why-ios-app-is-rejected.html

0
votes

Got the solution:

  • Your iOS Deployment Target should be 4.3 or later
  • Xcode should be version 4.5 or later