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