• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
1

"Your binary is not optimized for iPhone 5" Strikes Again.

Engaged ,
Apr 19, 2018 Apr 19, 2018

Copy link to clipboard

Copied

I'm getting this error from Apple Application Loader:

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

The app was built with AIR 29. Here are the launch images included in Animate:

launch.png

Never had this particular error before, although it does seem that submitting to Apple App Store takes more time than the actual development How can this be fixed? Thank you.

TOPICS
Development

Views

2.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Engaged , Apr 25, 2018 Apr 25, 2018

It looks like you're missing the Default-568h@2x~iphone.png image from this list, you'll need that even though it's a landscape app, since most of the phone launch images are Portrait-only like Colin mentioned.

I'd recommend adding these, and make sure you make them in portrait (not landscape) following Colin's instructions for rotation above:

Default-568h@2x~iphone.png (640 x 1136)

Default-414w-736h@3x~iphone.png (1242 x 2208)

Default-375w-667h@2x~iphone.png (750 x 1334)

Default@2x~iphone.png (640 x

...

Votes

Translate

Translate
LEGEND ,
Apr 19, 2018 Apr 19, 2018

Copy link to clipboard

Copied

I don't know if Assets.car changes things, I haven't had to do one of those yet. If it does include splash screens you would want to make sure Default-568h@2x.png is in there too.

That aside, I have seen cases where I had to add ~iphone to splash screen file names. Try duplicating the Default-568h@2x.png and name the duplicate as Default-568h@2x~iphone.png.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 19, 2018 Apr 19, 2018

Copy link to clipboard

Copied

Thank you Colin for the quick reply. It seems that Assets.car only needs the icons. I used this tool to create it: www.applicationloader.net/appuploader/icontool.php

I renamed Default-568h@2x.png. Got the same error.

launch.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 19, 2018 Apr 19, 2018

Copy link to clipboard

Copied

In cases where I used ~iphone, I kept the normal one too.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 19, 2018 Apr 19, 2018

Copy link to clipboard

Copied

Tried that too. Same error

launch.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 19, 2018 Apr 19, 2018

Copy link to clipboard

Copied

Hi,

Can you please try once with the Launch Image specifications provided here: Launch Images on iOS with Adobe AIR​. If you still face the issue, can you please provide the <UILaunchImages> tag from your Info.plist so that we can further look into the issue.

Thanks,

Pravishti | Adobe AIR Engineering

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 20, 2018 Apr 20, 2018

Copy link to clipboard

Copied

Here's what I have in the info.plist. (Sorry for the formatting)

<key>UILaunchImages</key>
    <array>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{320, 480}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-568h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{320, 568}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-375w-667h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{375, 667}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-414w-736h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-414w-736h</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{414, 736}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-812h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{375, 812}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-812h</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{375, 812}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-Portrait</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{768, 1024}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-Portrait-1112h</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{834, 1112}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>Default-Landscape-1112h</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{834, 1112}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>IpadPro12inchPortrait</string>
            <key>UILaunchImageOrientation</key>
            <string>Portrait</string>
            <key>UILaunchImageSize</key>
            <string>{1024, 1366}</string>
        </dict>
        <dict>
            <key>UILaunchImageMinimumOSVersion</key>
            <string>8.0</string>
            <key>UILaunchImageName</key>
            <string>IpadPro12inchLandscape</string>
            <key>UILaunchImageOrientation</key>
            <string>Landscape</string>
            <key>UILaunchImageSize</key>
            <string>{1024, 1366}</string>
        </dict>
    </array>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 22, 2018 Apr 22, 2018

Copy link to clipboard

Copied

Hi,

The <UILaunchImages> tag is per the expected values.

Could you please try once with packaging the ipa after removing the launch images without ~iphone/~ipad. Also, please check with unzipping the ipa and ensure that the packaged launch images are present inside the ipa.

Thanks,

Pravishti | Adobe AIR Engineering

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 23, 2018 Apr 23, 2018

Copy link to clipboard

Copied

Thank you for your response. Removed non ~iphone/~ipad files. Verified that the 4 remaining files are present in the ipa. Getting the same error.

Export settings:

IPA:settings.PNGzip.PNG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 23, 2018 Apr 23, 2018

Copy link to clipboard

Copied

Hi,

Could you please share your resources so that we can investigate further because no issue is expected to occur with the steps being followed.

Thanks!

Pravishti | Adobe AIR Engineering

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 23, 2018 Apr 23, 2018

Copy link to clipboard

Copied

Do you mean the ipa file? Should I email it to you?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Apr 23, 2018 Apr 23, 2018

Copy link to clipboard

Copied

You can email the resources you're using for packaging i.e. swf, app-xml, launch images, Assets.car etc.

Thanks!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 24, 2018 Apr 24, 2018

Copy link to clipboard

Copied

Pravishtis,

Emailing those assets may be problematic because I have to clear that with the client and who knows how long that will take. Could you tell me what exactly to look for and I will try to do that myself.

One thing that seems weird is that Apple wants a {320, 568} image even though the app is Landscape-only:

landscape.PNG

<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
<fullScreen>true</fullScreen>
<aspectRatio>landscape</aspectRatio>
<renderMode>auto</renderMode>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 24, 2018 Apr 24, 2018

Copy link to clipboard

Copied

All iPhone splash screens are portrait. The original iPhone would want 320x480, iPhone 4 would want 640x960, iPhone 5 is 640x1136, and so on. For a landscape app you would design your splash screen, at say 1136x640, then rotate it clockwise by 90 degrees, to make the 640x1136 you need for Default-568h@2x.png. The 568 and 2X matches the portrait height of 1136.

If you have any iPhone splash screens that you have saved in the landscape dimensions, those will cause problems. You need Default-568h@2x.png to be 640x1136, even for a landscape only app.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 24, 2018 Apr 24, 2018

Copy link to clipboard

Copied

Thank you Colin for clearing that up. I thought that might be the problem, but I guess it was too early to celebrate Do you have any suggestions what else I can try?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

Pravishtis,

As you requested over email, I have looked again at the Launch Images on iOS with Adobe AIR  page. It turns out I was missing a couple of images (was the page modified lately?). Created new images and tried to submit the app again, but got the same error.

Here is a screenshot from Windows. I think that's in compliance with the Launch Images on iOS with Adobe AIR page, but could you please double-check that?

explorer.PNG

This is from Animate export:

air.PNG

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

It looks like you're missing the Default-568h@2x~iphone.png image from this list, you'll need that even though it's a landscape app, since most of the phone launch images are Portrait-only like Colin mentioned.

I'd recommend adding these, and make sure you make them in portrait (not landscape) following Colin's instructions for rotation above:

Default-568h@2x~iphone.png (640 x 1136)

Default-414w-736h@3x~iphone.png (1242 x 2208)

Default-375w-667h@2x~iphone.png (750 x 1334)

Default@2x~iphone.png (640 x 960)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

I just had a thought, it could be that Apple are rejecting if you don't support the other 16:9 phones, but their canned message is the old one from when only iPhone 5 was 16:9. If that's the case, the adding of the 414 and 375 variations might solve things. So, there may need to be one of these for iPhone X too:

Default-375w-812h@3x~iphone.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

BTW, it would be 1125x2436.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 25, 2018 Apr 25, 2018

Copy link to clipboard

Copied

Thanks to everyone who helped! The final image I needed was Default-568h@2x~iphone.png (640 x 1136). I have been updating this app for years and it's interesting that Apple started complaining about it only now. So, in order to submit a landscape app we need at least one portrait launch image. Not obvious, but makes sense if you think about it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 09, 2019 Mar 09, 2019

Copy link to clipboard

Copied

LATEST

Had the same issue and took me weeks to figure out

one image was not properly saved as portrait.

once changed Default-568h@2x~iphone.png

from (1136 x 640)

to (640 x 1136)

I managed to overcome this error.

so this image: Default-568h@2x~iphone.png

should be (640 width x 1136 height)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines