Skip to main content
Participating Frequently
Oct 10, 2017 3:13 PM UTC
Question

AIR app crashes on startup in iPhone X iOS Simulator

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

56 replies

Participant
Dec 4, 2018 1:24 PM UTC

There are two new 3rd generation iPad (11 inch and 12.9 inch) launched recently. Do we have different launch image for those ipad's in landscape mode?

Translate
Known Participant
Jan 26, 2018 8:30 AM UTC

Hey guys!

Anyone has a solid fix for the stretched image problem?

I am having this problem on a Iphone 6+, and using the Air v 28  build 120

Thank you!

Translate
Inspiring
Dec 29, 2017 3:58 PM UTC

Just want to say with the help here of everyone and Adobe staff, I was able to launch an iPhone X, 8, 8 Plus app successfully for my client. Thank you!

AIR for iOS 28 is great.

Translate
Participating Frequently
Dec 12, 2017 11:29 AM UTC

Does anybody knows where to put assets.car to make icons visible on iphoneX?

Translate
Participating Frequently
Dec 12, 2017 11:37 AM UTC

Hi,

You should keep Assets.car in the root directory with your swf. For more details you can read here​, section "To create an iOS/tvOS package with Assets.car"

Thanks,

Krati

Adobe AIR Engineering

Translate
Inspiring
Dec 5, 2017 1:39 AM UTC

When I've uploaded to TestFlight with AIR for iOS 28, twice now, they reject it because it doesn't work on iPad, even though my app is only designed for iPhone and I have that set in the AIR for iOS Settings.

Is there anything else I can do, to indicate that this app is iPhone only? Thanks.

Translate
Inspiring
Dec 6, 2017 2:08 AM UTC

Apple is now saying that all apps should work on both iPhone and iPad. In the past, it was ok to develop for either iPhone or iPad individually. App Store Review Guidelines - Apple Developer

Translate
Inspiring
Nov 21, 2017 4:49 PM UTC

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

Translate
cybobear
Inspiring
Mar 21, 2018 11:19 PM UTC

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.

Translate
Inspiring
Nov 20, 2017 7:23 PM UTC

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

Translate
Inspiring
Nov 17, 2017 2:19 AM UTC

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.

Translate
Participant
Nov 17, 2017 6:26 AM UTC

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)

Translate
Participating Frequently
Nov 15, 2017 12:34 PM UTC

Same here... any updates would be welcome.

Translate
Anki_AG_
Adobe Employee
Adobe Employee
Nov 16, 2017 1:04 PM UTC

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

Translate
Participant
Nov 17, 2017 1:13 AM UTC

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).

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>

Translate
Anki_AG_
Adobe Employee
Adobe Employee
Oct 25, 2017 7:17 AM UTC

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

Thanks,

Ankit | Adobe AIR Engineering

Translate
Colin Holgate
Inspiring
Oct 28, 2017 8:47 PM UTC

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

Translate