Highlighted

AIR app crashes on startup in iPhone X iOS Simulator

Community Beginner ,
Oct 10, 2017

Copy link to clipboard

Copied

Im trying to test the AIR app in the new iOS 11 simulator to see how it would look on the iPhone X screen, but the app crashes on startup without any logs or errors.

I tried using AIR 26 and AIR 27 but the result is the same.

I found this discussion https://forum.starling-framework.org/topic/air-xcode-9-ios-11-beta-the-good-the-bad-and-the-ugly where it says:

iOS 11 enforces x86_64 for simulator builds. AIR only produces i386 simulator builds. Therefore, you cannot run AIR projects in the Xcode 11.0 Simulator.

So it looks like Adobe AIR doesnt support it yet.

Any ideas for a hack or temporary solution to make it work?

Or when can we expect an AIR update?

TOPICS
Development

Views

8.0K

Likes

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

AIR app crashes on startup in iPhone X iOS Simulator

Community Beginner ,
Oct 10, 2017

Copy link to clipboard

Copied

Im trying to test the AIR app in the new iOS 11 simulator to see how it would look on the iPhone X screen, but the app crashes on startup without any logs or errors.

I tried using AIR 26 and AIR 27 but the result is the same.

I found this discussion https://forum.starling-framework.org/topic/air-xcode-9-ios-11-beta-the-good-the-bad-and-the-ugly where it says:

iOS 11 enforces x86_64 for simulator builds. AIR only produces i386 simulator builds. Therefore, you cannot run AIR projects in the Xcode 11.0 Simulator.

So it looks like Adobe AIR doesnt support it yet.

Any ideas for a hack or temporary solution to make it work?

Or when can we expect an AIR update?

TOPICS
Development

Views

8.0K

Likes

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
Oct 10, 2017 2
Adobe Employee ,
Oct 25, 2017

Copy link to clipboard

Copied

This issue is known to us and we are working on it.

Thanks,

Ankit | Adobe AIR Engineering

Likes

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
Reply
Loading...
Oct 25, 2017 2
Adobe Community Professional ,
Oct 28, 2017

Copy link to clipboard

Copied

I found that any simulator device crashes, so it may be more about Xcode 9 than iPhone X.

Likes

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
Reply
Loading...
Oct 28, 2017 2
Community Beginner ,
Nov 09, 2017

Copy link to clipboard

Copied

Is there any estimate on when this will be resolved? I am also experiencing this.

Likes

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
Reply
Loading...
Nov 09, 2017 1
Explorer ,
Nov 15, 2017

Copy link to clipboard

Copied

Same here... any updates would be welcome.

Likes

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
Reply
Loading...
Nov 15, 2017 1
Adobe Employee ,
Nov 16, 2017

Copy link to clipboard

Copied

This issue is fixed now. Please download AIR 28 SDK from Download Adobe AIR 28 Beta - Adobe Labs . Make sure you are using updated version of Xcode 9. Please let us know in case of any issues.

Thanks,

Ankit

Likes

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
Reply
Loading...
Nov 16, 2017 2
Community Beginner ,
Nov 16, 2017

Copy link to clipboard

Copied

Hi Ankit,

The app does not crash anymore with this beta, which is great.

Unfortunately, my app seems to run in the iOS 11.1 simulators with a letterbox effect. See the attached picture for what I mean. It happens on the iPhone 6 simulator and the iPhone X simulator, to different extremes. The red box is the area that the application takes up, whereas the green box is the expected area it should take. (The blue box is the 'safe area' of the iPhone X, for comparison).

iOS 11.1 simulators - Adobe AIR 28 Flex app letterboxing.png

According to these two Stack Overflow post, some letterboxing effect may be enforced by iOS devices if they don't have the correct launch images, but I attempted to make & add these and it made no difference: https://stackoverflow.com/q/47201210/2544629​ and https://stackoverflow.com/q/46326405/2544629 . Is this something caused by the AIR 28 update? Or maybe, is there a setting I need to add to my app to resolve this?

Here's some of the XML I have in my app descriptor for reference:

<initialWindow>

        <content></content>

        <aspectRatio>portrait</aspectRatio>

        <visible>true</visible>

        <autoOrients>true</autoOrients>

        <fullScreen>true</fullScreen>

        <renderMode>direct</renderMode>

    </initialWindow>

<iPhone>

        <InfoAdditions>

            <![CDATA[

            <key>UIDeviceFamily</key>

            <array>

                <string>1</string>

                <string>2</string>

            </array>

            <key>MinimumOSVersion</key>

            <string>11.0</string>

            <key>UIBackgroundModes</key>

            <array>

                <string>audio</string>

            </array>

            <key>NSAppTransportSecurity</key>

            <dict>

                <key>NSAllowsArbitraryLoads</key>

                <true/>

            </dict>

            <key>LSApplicationQueriesSchemes</key>

            <array>

                <string>fb</string>

                <string>instagram</string>

                <string>tumblr</string>

                <string>twitter</string>

                <string>tel</string>

                <string>sms</string>

            </array>

            ]]>

        </InfoAdditions>

<requestedDisplayResolution>high</requestedDisplayResolution>

Likes

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
Reply
Loading...
Nov 16, 2017 2
Participant ,
Nov 16, 2017

Copy link to clipboard

Copied

Everytime I Test iOS Simulator from Adobe Animate, it opens up the iPhone 6 simulator. How do I get it to place the app and test on iPhone X simulator?

Thank you.

Likes

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
Reply
Loading...
Nov 16, 2017 0
Community Beginner ,
Nov 16, 2017

Copy link to clipboard

Copied

in terminal before launching the IDE:

`launchctl setenv AIR_IOS_SIMULATOR_DEVICE "iPhone X"`

this is from: Adobe AIR: How to select iOS Simulator Hardware – IDEs Support (IntelliJ Platform) | JetBrains (for Intellij, not sure if it works for other IDEs but it worked fro me)

Likes

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
Reply
Loading...
Nov 16, 2017 0
Adobe Employee ,
Nov 16, 2017

Copy link to clipboard

Copied

Hi,

Please follow Adobe AIR * Device simulation using the iOS Simulator  to change the default simulator. For iPhone X please use name as "iPhone X".

Thanks,

Ankit | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 16, 2017 0
Explorer ,
Nov 17, 2017

Copy link to clipboard

Copied

Thanks Anki that works great. App runs fine in the simulator now.

Which leads to my next question... how do we actually make the app use the whole screen and not be letterboxed?

I saw on a thread somehwhere that we just to add the "Default-375w-812h@3x.png" launch image to force it to use the whole screen, but that's not working for me.

Likes

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
Reply
Loading...
Nov 17, 2017 1
Explorer ,
Nov 17, 2017

Copy link to clipboard

Copied

Try using name "Default-375w-812h@3x~iphone.png"

Likes

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
Reply
Loading...
Nov 17, 2017 2
Community Beginner ,
Nov 17, 2017

Copy link to clipboard

Copied

"Default-812h@3x~iphone.png" seems to be the one I had to use for it to work...

I just tried a bunch of combinations until one worked.

Thanks Elegar​ for getting me close!

for anyone else, here's the full list of images I currently have there, and their names, which seems to have now made the iPhone X and others no longer have a letterbox on Xcode 9 / iOS 11 simulators (the bottom one is new as of this last week / AIR 28 beta):

Default-568h@2x.png
Default.png
Default@2x.png
Default@2x~ipad.png
Default~ipad.png

Default-812h@3x~iphone.png

(my app is portrait only, so there are probably others you need in landscape)

Likes

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
Reply
Loading...
Nov 17, 2017 2
New Here ,
Nov 18, 2017

Copy link to clipboard

Copied

how to package the icons?. They do not appear in any device. I have tried the method of assets.car

Likes

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
Reply
Loading...
Nov 18, 2017 0
Engaged ,
Nov 18, 2017

Copy link to clipboard

Copied

The ipa produced by AIR 28 beta appears to now include the UILaunchImages array.

Here is the set of what it looks for.

<key>UILaunchImages</key>

        <array>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default~iphone.png</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@2x~iphone.png</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@2x~iphone.png</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@2x~iphone.png</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@3x~iphone.png</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@3x~iphone.png</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@3x~iphone.png</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@3x~iphone.png</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~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>Portrait</string>

                <key>UILaunchImageSize</key>

                <string>{359, 512}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default-PortraitUpsideDown~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>PortraitUpsideDown</string>

                <key>UILaunchImageSize</key>

                <string>{359, 512}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default-Landscape~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>Landscape</string>

                <key>UILaunchImageSize</key>

                <string>{359, 512}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default-LandscapeRight~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>LandscapeRight</string>

                <key>UILaunchImageSize</key>

                <string>{359, 512}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default-Portrait@2x~ipad.png</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-PortraitUpsideDown@2x~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>PortraitUpsideDown</string>

                <key>UILaunchImageSize</key>

                <string>{768, 1024}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default-LandscapeLeft@2x~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>LandscapeLeft</string>

                <key>UILaunchImageSize</key>

                <string>{768, 1024}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>Default-LandscapeRight@2x~ipad.png</string>

                <key>UILaunchImageOrientation</key>

                <string>LandscapeRight</string>

                <key>UILaunchImageSize</key>

                <string>{768, 1024}</string>

            </dict>

            <dict>

                <key>UILaunchImageMinimumOSVersion</key>

                <string>8.0</string>

                <key>UILaunchImageName</key>

                <string>IpadPro12inchPortrait.png</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.png</string>

                <key>UILaunchImageOrientation</key>

                <string>Landscape</string>

                <key>UILaunchImageSize</key>

                <string>{1024, 1366}</string>

            </dict>

        </array>

Likes

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
Reply
Loading...
Nov 18, 2017 2
Explorer ,
Nov 20, 2017

Copy link to clipboard

Copied

So thanks to Elegar, I've now got the app opening in full screen mode for the iPhone by using "Default-812h@3x~iphone.png".

However, I'm getting an issue where the splash screen displays correctly at first, but then shows a stretched version for a few seconds just before the app starts up. I'm getting exactly the same error on two different projects. Here's a video of it happening.

Dropbox - iphonex.mov

Be interested to know if anyone else is getting the same?

Also... The icons aren't working in the simulator using AIR 28. This is on all iOS devices - not just the iPhone X.

Likes

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
Reply
Loading...
Nov 20, 2017 0
Engaged ,
Nov 20, 2017

Copy link to clipboard

Copied

el111

So these are the final names to be used?

Some of them seem to conflict with names for older devices listed here (up to iPhone 7+ and iPad pro).

Adobe AIR * Application icons

Likes

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
Reply
Loading...
Nov 20, 2017 0
Adobe Employee ,
Nov 20, 2017

Copy link to clipboard

Copied

Hello Everyone,

Below is the list of launch images to be used with Adobe AIR applications:

Devices

Resolution  (pixels)

Launch image name

Orientation

iPhone

iPhone4(non-Retina)

640×960

Default~iphone.png

Portrait

iPhone 4,4s

640×960

Default@2x~iphone.png

Portrait

iPhone 5,5c,5s

640×1136

Default-568h@2x~iphone.png

Portrait

iPhone 6, 7, 8

750×1334

Default-375w-667h@2x~iphone.png

Portrait

iPhone 6+, 7+, 8+

1242×2208

Default-414w-736h@3x~iphone.png

Portrait

iPhone 6+, 7+, 8+

2208×1242

Default-Landscape-414w-736h@3x~iphone.png

Landscape

iPhone X

1125x2436

       Default-812h@3x~iphone.png

Portrait

iPhone X

2436x1125

       Default-Landscape-812h@3x~iphone.png

Landscape

iPad

iPad 1,2

768×1024

Default-Portrait~ipad.png

Portrait

iPad 1,2

768×1024

Default-PortraitUpsideDown~ipad.png

Upside down portrait

iPad 1,2

1024×768

Default-Landscape~ipad.png

Left landscape

iPad 1,2

1024×768

Default-LandscapeRight~ipad.png

Right landscape

iPad 3,Air

1536×2048

Default-Portrait@2x~ipad.png

Portrait

iPad 3,Air

1536×2048

Default-PortraitUpsideDown@2x~ipad.png

Upside down portrait

iPad 3,Air

2048×1536

Default-LandscapeLeft@2x~ipad.png

Left landscape

iPad 3,Air

2048×1536

Default-LandscapeRight@2x~ipad.png

Right landscape

iPad Pro

2048×2732

Default-Portrait@2x.png

Portrait

iPad Pro

2732×2048

Default-Landscape@2x.png

Landscape

Please let us know if you see any discrepancy in this.

Thanks,

Pravishti | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 20, 2017 5
Adobe Employee ,
Nov 20, 2017

Copy link to clipboard

Copied

Hi markburvs,

For the stretched version of the splash screen on iPhone X, we are aware of this issue and currently investigating the same.

For icons not visible on simulators of iOS 11 using AIR 28, please make sure that you're packaging Assets.car in the application as Apple has mandated the use of Assets.car for iOS 11 onwards. For the procedure to make Assets.car, please refer AIR 28 Beta ReleaseNotes (http://fpdownload.macromedia.com/pub/labs/flashruntimes/shared/air28_flashplayer28_releasenotes.pdf )

Thanks,

Pravishti | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 20, 2017 2
Engaged ,
Nov 21, 2017

Copy link to clipboard

Copied

pravishtis

Is there an image to be used for Ipad Pro 10.5" ?

It has a resolution of 1668x2224px

I did try Default-Portrait-834w-1112h@2x~ipad.png but I still get a Capabilities.screenResolutionX of 1536

https://tracker.adobe.com/#/view/AIR-4198511

Is there any connection with the above table to the UILaunchImages array in Info.plist now produced by AIR28 ?

I ask because for iPad Pro the image names are listed as IpadPro12inchPortrait.png and IpadPro12inchLandscape.png in the Info.plist

Likes

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
Reply
Loading...
Nov 21, 2017 3
Explorer ,
Nov 21, 2017

Copy link to clipboard

Copied

pravishtis​, thanks for describing assets.car. Is there any chance that AIR 28 will generate this file itself? Or from now it becomes impossible to make builds without mac (because mac is required to generate assets.car as described in release notes)?

Likes

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
Reply
Loading...
Nov 21, 2017 4
Engaged ,
Nov 21, 2017

Copy link to clipboard

Copied

Yes, please implement generating Assets.car file automatically with Adobe AIR.

I am paying Adobe Creative Cloud and using Flash Builder 4.7 to build my game and if I am not able to build without Mac I do not know what to do then, I will not be able to use AIR 28, but I want to use it.

Thanks,

Caslav

Likes

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
Reply
Loading...
Nov 21, 2017 0
Engaged ,
Nov 21, 2017

Copy link to clipboard

Copied

pravishtis Thank you!, exactly what I needed!

So did I get it right that from iOS 11 onwards icons will not display without Assets.car?

Do we have to keep both ways, i.e. regular icons for iOS previous to 11 and Assets.car for 11 onwards?

Thank you!

Likes

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
Reply
Loading...
Nov 21, 2017 1
Explorer ,
Nov 21, 2017

Copy link to clipboard

Copied

PippoApps​ Certainly seems that way from my testing today. I've got everything working nicely now apart from the bug with the stretching splash screen so I guess I'm just waiting on that now.

pravishtis​ Thanks for your help!

Likes

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
Reply
Loading...
Nov 21, 2017 1
Adobe Employee ,
Nov 21, 2017

Copy link to clipboard

Copied

Hi,

Yes you would need both Assets.car for iOS 11 and regular icons for iOS 10 and below.

Thanks,

Krati | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 21, 2017 1
Adobe Employee ,
Nov 21, 2017

Copy link to clipboard

Copied

Hi,

For the issue "Is there an image to be used for Ipad Pro 10.5" ?

We are aware of this issue and working on it.

Thanks,

Ankit | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 21, 2017 3
Participant ,
Nov 23, 2017

Copy link to clipboard

Copied

Just one more item to add to Pravishtis instructions on Assets.car - make sure you are signed in to XCode 9.

Add own AppleID in Xcode [preferences -> Accounts -> add apple id]

Likes

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
Reply
Loading...
Nov 23, 2017 2
Explorer ,
Nov 28, 2017

Copy link to clipboard

Copied

krgupta​ As windows user I am really interested if there is any chance that AIR 28 will generate this file itself? Or from now it becomes impossible to make builds without mac (because mac is required to generate assets.car as described in release notes)?Should I wait until this will be implemented in non-beta release or it is better to start looking for mac?

Likes

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
Reply
Loading...
Nov 28, 2017 1
Community Beginner ,
Nov 28, 2017

Copy link to clipboard

Copied

The stretching launch image issue on iPhone X seems to be iOS switching to Default@2x~iphone.png after briefly displaying Default-812h@3x~iphone.png. I renamed the iPhone X image to Default@3x~iphone.png and used the following:

<dict>

  <key>UILaunchImageMinimumOSVersion</key>

  <string>7.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>11.0</string>

  <key>UILaunchImageName</key>

  <string>Default</string>

  <key>UILaunchImageOrientation</key>

  <string>Portrait</string>

  <key>UILaunchImageSize</key>

  <string>{375, 812}</string>

</dict>

Another option that works is to rename Default@2x~iphone.png to something else, like Default-iPhone4.png and use that as the UILaunchImageName for [320, 480] devices. That should prevent iPhone X from choosing that image.

Likes

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
Reply
Loading...
Nov 28, 2017 1
Adobe Employee ,
Nov 28, 2017

Copy link to clipboard

Copied

Hi,

Can you please check with latest AIR 28 Beta (Download Adobe AIR 28 Beta - Adobe Labs) and let us know if you face any issues.

Thanks,

Pravishti | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 28, 2017 0
Participant ,
Nov 29, 2017

Copy link to clipboard

Copied

Yes, it would be easier as well if AIR 28 could create the assets.car file automatically.

Even though I followed the instructions in XCode, I keep getting a build error.

Likes

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
Reply
Loading...
Nov 29, 2017 2
Adobe Employee ,
Nov 29, 2017

Copy link to clipboard

Copied

Have you followed the steps mentioned in the release notes? Please let us know the error you are getting while building.

Thanks,

Ankit | Adobe AIR Engineering

Likes

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
Reply
Loading...
Nov 29, 2017 0
Community Beginner ,
Nov 29, 2017

Copy link to clipboard

Copied

pravishtis  wrote

Can you please check with latest AIR 28 Beta (Download Adobe AIR 28 Beta - Adobe Labs) and let us know if you face any issues

Here are issues I've found so far with AIR 28.0.0.112:

1. UILaunchImages key value pairs from app.xml InfoAdditions are now ignored. Desired behavior: If UILaunchImages is defined in InfoAdditions, AIR SDK shouldn't add its own UILaunchImages section.

2. The Default@2x~iphone.png launch image is displayed on iPhone X (stretched) instead Default-812h@3x~iphone.png. Note that the actual stage resolution is properly set to 2436x1125 when the app launches.

3. The UILaunchImageName values are formatted incorrectly. With regard to UILaunchImageName, Apple states "The name you specify for this key should not include a filename extension, nor should it include modifiers such as @2x, -568h, ~iphone, or ~ipad" (Reference: https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Ar...)

Due to #1 and #2, I can not use AIR 28 SDK (yet it's a regression from the behavior I now have working correctly in AIR 27 SDK).

I still think the best approach is for the iPhone X filename to be Default@3x~iphone.png and the UILaunchImageName to be simply Default. Or, the AIR SDK could change the basename from Default to LaunchImage, like other modern Xcode apps.

I'd also recommend reviewing this thread, which covers the technique some major iOS developers are using (e.g. IconFactory): https://twitter.com/stroughtonsmith/status/879021146833813504

Likes

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
Reply
Loading...
Nov 29, 2017 0
Engaged ,
Nov 29, 2017

Copy link to clipboard

Copied

Kevin,

Why are you using AIR 28.0.112 Beta when there is newer AIR 28.0.0.120 Beta available?

Likes

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
Reply
Loading...
Nov 29, 2017 0
Community Beginner ,
Nov 29, 2017

Copy link to clipboard

Copied

https://forums.adobe.com/people/chaky%5C  wrote

Why are you using AIR 28.0.112 Beta when there is newer AIR 28.0.0.120 Beta available?

I downloaded the 64-bit build today, which was 28.0.0.112. Perhaps it hasn't been updated yet? I'll try the 32-bit build and see if it has a newer build number and if the behavior has changed.

Likes

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
Reply
Loading...
Nov 29, 2017 0
Engaged ,
Nov 20, 2017

Copy link to clipboard

Copied

According to Adobe specs, this is the complete list with all iOS devices covered:

These are artboards from an AI file I use to export them all. If you want the AI pm me.

19 PNGs, sometimes splashscreens occupy more space than the app itself

Likes

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
Reply
Loading...
Nov 20, 2017 0
Engaged ,
Nov 21, 2017

Copy link to clipboard

Copied

You might need this file. It's an AI with artboards already set to export with the correct file name to cover all 18 splashscreens as described in Pravishti's table. Eventually, once the iPad PRO 10.5 inches doubt is cleared I will update it and add it here.

www.pippoapps.com/_downloads/SplashScreen_exporter_FULL_IOS_CC.ai

Likes

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
Reply
Loading...
Nov 21, 2017 1
Contributor ,
Mar 21, 2018

Copy link to clipboard

Copied

Thanks for the AI file! I will try this out. I find this area and icons as well to need some streamlining. Perhaps within the animate app? Or maybe even better an AIR app that produces all these templates pngs with a click, named properly and with XML nodes to add when appropriate.

Likes

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
Reply
Loading...
Mar 21, 2018 0