INVALID BINARY : Your binary is not optimized for

2020-02-09 03:09发布

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:Default@2x.png   
3:Default-568h@2x.png   

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条回答
贼婆χ
2楼-- · 2020-02-09 03:15

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.

查看更多
冷血范
3楼-- · 2020-02-09 03:19

The way you named the large app icon is correct "Default-568h@2x.png". 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.

查看更多
男人必须洒脱
4楼-- · 2020-02-09 03:25

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, Default@2x.png and Default-568h@2x.png images to the relevant boxes.

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

查看更多
贪生不怕死
5楼-- · 2020-02-09 03:26

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.

查看更多
Animai°情兽
6楼-- · 2020-02-09 03:28

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

查看更多
贪生不怕死
7楼-- · 2020-02-09 03:30

Well I have faced the same issue and found the solution by adding the default-568h@2x.png 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.

查看更多
登录 后发表回答