Highlighted

launchctl setenv AIR_IOS_SIMULATOR_DEVICE "iPhone XR”

Participant ,
Feb 22, 2019

Copy link to clipboard

Copied

Trying to set the iOS simulator for iPhone XR on the command line with terminal on the Mac

using :-

launchctl setenv AIR_IOS_SIMULATOR_DEVICE "iPhone XR” 

seems that it's still not possible to set

the simulator for the newer apple devices

also tried

launchctl setenv AIR_IOS_SIMULATOR_DEVICE “iPhone XS”

launchctl setenv AIR_IOS_SIMULATOR_DEVICE “iPhone XS Max

same problem .

Using launchctl getenv AIR_IOS_SIMULATOR_DEVICE will reveal the correct environment variable

for older devices  but not the new ones ..

AIR 32.0.0.100

AIR 32.0.0.103

Mac 10.13.6 High Sierra

Any ideas folks ?

TOPICS
Air beta

Views

827

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

launchctl setenv AIR_IOS_SIMULATOR_DEVICE "iPhone XR”

Participant ,
Feb 22, 2019

Copy link to clipboard

Copied

Trying to set the iOS simulator for iPhone XR on the command line with terminal on the Mac

using :-

launchctl setenv AIR_IOS_SIMULATOR_DEVICE "iPhone XR” 

seems that it's still not possible to set

the simulator for the newer apple devices

also tried

launchctl setenv AIR_IOS_SIMULATOR_DEVICE “iPhone XS”

launchctl setenv AIR_IOS_SIMULATOR_DEVICE “iPhone XS Max

same problem .

Using launchctl getenv AIR_IOS_SIMULATOR_DEVICE will reveal the correct environment variable

for older devices  but not the new ones ..

AIR 32.0.0.100

AIR 32.0.0.103

Mac 10.13.6 High Sierra

Any ideas folks ?

TOPICS
Air beta

Views

828

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
Feb 22, 2019 0
Enthusiast ,
Feb 23, 2019

Copy link to clipboard

Copied

under macOS terminal you would set up an environment variable with

$ export AIR_IOS_SIMULATOR_DEVICE="iPhone XS"


see

Adobe AIR * Device simulation using the iOS Simulator


the part

  • You can choose a specific simulator by setting the environment variable AIR_IOS_SIMULATOR_DEVICE, as follows:
    export AIR_IOS_SIMULATOR_DEVICE = 'iPad Retina'

Restart the process after setting the environment variable and run the application on the simulator device of your choice.

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...
Feb 23, 2019 0
Participant ,
Mar 19, 2019

Copy link to clipboard

Copied

Hi,

export AIR_IOS_SIMULATOR_DEVICE="iPhone XS" just doesn't work.

Using that method fails with all of the simulators never mind the new ones, with Adobe Animate at least.

The only thing that's worked for previous simulators  is using for example :- 

launchctl setenv AIR_IOS_SIMULATOR_DEVICE “iPhone 8 Plus”

after rebooting Animate this allows testing in the iPhone 8 Plus simulator via the menu "Control/Test Movie/OniOS Simulator" . It's still not possible to use this method for new devices eg iPhone XR, XS max etc.

It must be a fairy simple fix. Its worrying that nearly 6 months after the release of these devices we can't do testing in the simulators..

Not all us independent developers have the resources to buy all the new devices for testing ... its vital this part of Animate works properly..

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 19, 2019 0
Participant ,
Mar 25, 2019

Copy link to clipboard

Copied

It works if you enter the following lines in the Terminal:

export AIR_IOS_SIMULATOR_DEVICE="iPhone XS Max"

adt -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk -device ios-simulator -package path-to-your-package/your-app.ipa

It stops to work if I want to make a testbuild with iPad Pro 3rd generation 12.9 inch. In this case the iPhone 6 Simulator opens.

Hopefully it is only an adobe air bug and not that adobe air is not compatible with this iPad.

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 25, 2019 0
RGBJOY LATEST
Explorer ,
May 08, 2019

Copy link to clipboard

Copied

I also can't get it to work for iPad (6th generation)

AIR 32.0.0.116

Adobe Animate 19.2 (Build 405)

macOS 10.14.4

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...
May 08, 2019 0