Copy link to clipboard
Copied
Hello,
Using AIR Beta 15 (302) and Flash Professional 2014, Flash throws the error "Unable to install the application on iOS Simulator"
The SDK path is set to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk
I am using by Development profile and selected Debug Mode......
Thanks for any help you can give.
Craig
1 Correct answer
I suddenly can using AIR 16 but not AIR 15.
Copy link to clipboard
Copied
I have been trying the command line approach but keep getting this error in terminal when I try to to install...
Application architecture is not supported on iOS simulator.
Here is the code I use
/Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -package StaffWars.ipa
Copy link to clipboard
Copied
What was your build line like? Is it as described here?:
Adobe AIR * Device simulation using the iOS Simulator
As an aside, you don't need to put the AIR folder into the Flash Pro folder. When you manage AIR SDKs from the Help menu you can point to the SDK in your Downloads folder. That way if you need to update Flash Pro, or reinstall it, the AIR 15 beta will be safe.
Copy link to clipboard
Copied
Here is my build line:
/Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt -package -target ipa-debug-interpreter-simulator -storetype pkcs12 -keystore Certificates.p12 -storepass <password> StaffWars.ipa StaffWars-app.xml StaffWars.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk/
Copy link to clipboard
Copied
I got this right form these forums (with exception to the path)
Package App :
/Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt -package -target ipa-debug-interpreter-simulator -storetype pkcs12 -keystore Certificates.p12 -storepass ******** StaffWars.ipa StaffWars-app.xml StaffWars.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk/
Install App :
/Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -package StaffWars.ipa
Here I get the error.... "Unable to install the application on iOS Simulator"
Launch App :
/Applications/Adobe\ Flash\ CC\ 2014/AIR15.0/bin/adt -launchApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -appid com.themusicinteractive.StaffWars
Thanks
Copy link to clipboard
Copied
Does anyone else get this error?
Copy link to clipboard
Copied
Yes, I do. I'm not able to test from other tools either, so I think it's a change in Xcode, but it would be nice if Flash could be fixed to work around the issue.
Copy link to clipboard
Copied
So the command line approach doesn't work either.....
Just confirming so I don't spend anymore time.....
Craig
Copy link to clipboard
Copied
Hello,
Finally, i'm able to test on iOS simulator.
I used this path & the last update Flash CC 2014 and last Air sdk version:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/S DKs/iPhoneSimulator.sdk
U should change the name of the app for each test (in all fields) & run with intereptor mode.
Sorry for my english.
Hope i helped
Copy link to clipboard
Copied
Thanks aminefraj,
But did not work for me.
Copy link to clipboard
Copied
I suddenly can using AIR 16 but not AIR 15.
Copy link to clipboard
Copied
Hi builder623,
I installed AIR SDK 16 but did not succeed yet. Can you give more details about how you did it?
Copy link to clipboard
Copied
I think I may have copied the SDK in to a new location in the Xcode bundle.... this is my path in Flash.
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk
Again, doesn't work with 15. Only 16
Copy link to clipboard
Copied
Thanks builder623,
I cannot get it to work though. Using 16 as well.
Copy link to clipboard
Copied
Thanks builder 623 and Preran for your help
I have SDK 16 installed.
The Simulator refuses to launch from Flash as described earlier.
But when I launch the simulator seperatly the app is on the simulator.
I don't know what I did right.
When I update the app from Flash again the simulator refuses to launch from Flash.
When I open the simulator again separately the app is updated.
I checked it a few times more and this way it works.
That is I, although rather weird, a great relieve.
