1 2 Previous Next 56 Replies Latest reply on Dec 4, 2018 5:24 AM by iosdeveloper

    AIR app crashes on startup in iPhone X iOS Simulator

    mateo.kozomara2 Level 1

      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-th e-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?

        • 1. Re: AIR app crashes on startup in iPhone X iOS Simulator
          Anki(AG) Adobe Employee

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

           

          Thanks,

          Ankit | Adobe AIR Engineering

          1 person found this helpful
          • 2. Re: AIR app crashes on startup in iPhone X iOS Simulator
            Colin Holgate MVP & Adobe Community Professional

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

            1 person found this helpful
            • 3. Re: AIR app crashes on startup in iPhone X iOS Simulator
              monroe_heyzap Level 1

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

              • 4. Re: AIR app crashes on startup in iPhone X iOS Simulator
                markburvs Level 1

                Same here... any updates would be welcome.

                • 5. Re: AIR app crashes on startup in iPhone X iOS Simulator
                  Anki(AG) Adobe Employee

                  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

                  1 person found this helpful
                  • 6. Re: AIR app crashes on startup in iPhone X iOS Simulator
                    monroe_heyzap Level 1

                    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>

                    1 person found this helpful
                    • 7. Re: AIR app crashes on startup in iPhone X iOS Simulator
                      John Locke 2013 Level 1

                      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.

                      • 8. Re: AIR app crashes on startup in iPhone X iOS Simulator
                        monroe_heyzap Level 1

                        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)

                        • 9. Re: AIR app crashes on startup in iPhone X iOS Simulator
                          Anki(AG) Adobe Employee

                          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

                          • 10. Re: AIR app crashes on startup in iPhone X iOS Simulator
                            markburvs Level 1

                            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.

                            • 11. Re: AIR app crashes on startup in iPhone X iOS Simulator
                              Elegar Level 1

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

                              2 people found this helpful
                              • 12. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                monroe_heyzap Level 1

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

                                2 people found this helpful
                                • 13. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                  FRANCAD Level 1

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

                                  • 14. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                    el111 Level 3

                                    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>

                                    2 people found this helpful
                                    • 15. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                      markburvs Level 1

                                      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.

                                      • 16. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                        PippoApps Level 2

                                        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

                                        • 17. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                          PippoApps Level 2

                                          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

                                          • 18. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                            pravishtis Adobe Employee

                                            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

                                            6 people found this helpful
                                            • 19. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                              pravishtis Adobe Employee

                                              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_release notes.pdf )

                                               

                                              Thanks,

                                              Pravishti | Adobe AIR Engineering

                                              3 people found this helpful
                                              • 20. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                el111 Level 3

                                                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

                                                2 people found this helpful
                                                • 21. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                  Elegar Level 1

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

                                                  2 people found this helpful
                                                  • 22. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                    chaky Level 1

                                                    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

                                                    • 23. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                      PippoApps Level 2

                                                      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!

                                                      • 24. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                        markburvs Level 1

                                                        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!

                                                        • 25. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                          PippoApps Level 2

                                                          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

                                                          • 26. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                            krgupta Adobe Employee

                                                            Hi,

                                                             

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

                                                             

                                                            Thanks,

                                                            Krati | Adobe AIR Engineering

                                                            • 27. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                              Anki(AG) Adobe Employee

                                                              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

                                                              1 person found this helpful
                                                              • 28. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                John Locke 2013 Level 1

                                                                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]

                                                                1 person found this helpful
                                                                • 29. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                  Elegar Level 1

                                                                  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?

                                                                  1 person found this helpful
                                                                  • 30. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                    kevinj15964802 Level 1

                                                                    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.

                                                                    1 person found this helpful
                                                                    • 31. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                      pravishtis Adobe Employee

                                                                      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

                                                                      • 32. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                        John Locke 2013 Level 1

                                                                        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.

                                                                        1 person found this helpful
                                                                        • 33. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                          Anki(AG) Adobe Employee

                                                                          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

                                                                          • 34. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                            kevinj15964802 Level 1

                                                                            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/InfoPlistKeyRe ference/Articles/iPhoneOSKeys.html#//apple_ref/doc/uid/TP40009252-SW10)

                                                                             

                                                                            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

                                                                            • 35. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                              chaky Level 1

                                                                              Kevin,

                                                                               

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

                                                                              • 36. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                                kevinj15964802 Level 1

                                                                                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.

                                                                                • 37. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                                  chaky Level 1

                                                                                  I do not know what you are talking about. There is 64 bit only AIR SDK but it is used only for compiling Windows captive run times in 64 bit. Maybe you download that by mistake. When you download regular AIR SDK Beta from this link: https://fpdownload.macromedia.com/pub/labs/flashruntimes/air/AIRSDK_Compiler.zip

                                                                                   

                                                                                   

                                                                                  You will get 28.0.0.120 version.

                                                                                  • 38. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                                    John Locke 2013 Level 1

                                                                                    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.

                                                                                    • 39. Re: AIR app crashes on startup in iPhone X iOS Simulator
                                                                                      John Locke 2013 Level 1

                                                                                      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

                                                                                      1 2 Previous Next