Skip to main content
Participating Frequently
October 10, 2017
Question

AIR app crashes on startup in iPhone X iOS Simulator

  • October 10, 2017
  • 10 replies
  • 12531 views

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 has been closed for replies.

10 replies

Participant
December 4, 2018

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?

Known Participant
January 26, 2018

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!

Inspiring
December 29, 2017

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.

Participating Frequently
December 12, 2017

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

Community Manager
December 12, 2017

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

Inspiring
December 5, 2017

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.

Inspiring
December 6, 2017

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

Inspiring
November 21, 2017

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

cybobear
Inspiring
March 21, 2018

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.

Inspiring
November 20, 2017

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

Inspiring
November 17, 2017

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.

Participant
November 17, 2017

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)

Participating Frequently
November 15, 2017

Same here... any updates would be welcome.

Anki_AG_
Adobe Employee
Adobe Employee
November 16, 2017

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

Participant
November 17, 2017

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>

Anki_AG_
Adobe Employee
Adobe Employee
October 25, 2017

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

Thanks,

Ankit | Adobe AIR Engineering

Colin Holgate
Inspiring
October 28, 2017

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