Skip to main content
Inspiring
October 5, 2014
Answered

Can't Debug from Flash to iOS Simulator

  • October 5, 2014
  • 2 replies
  • 2772 views

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

This topic has been closed for replies.
Correct answer builder623

I suddenly can using AIR 16 but not AIR 15.

2 replies

Participant
October 27, 2014

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

Inspiring
January 13, 2015

Thanks aminefraj,

But did not work for me.

builder623AuthorCorrect answer
Inspiring
January 13, 2015

I suddenly can using AIR 16 but not AIR 15.

Inspiring
October 7, 2014

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

Colin Holgate
Inspiring
October 7, 2014

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.

Inspiring
October 7, 2014

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/