Highlighted

Can't Debug from Flash to iOS Simulator

Participant ,
Oct 05, 2014

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

I suddenly can using AIR 16 but not AIR 15.

TOPICS
Air beta

Views

1.6K

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

Can't Debug from Flash to iOS Simulator

Participant ,
Oct 05, 2014

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

I suddenly can using AIR 16 but not AIR 15.

TOPICS
Air beta

Views

1.6K

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
Oct 05, 2014 0
Participant ,
Oct 07, 2014

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

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...
Oct 07, 2014 0
Adobe Community Professional ,
Oct 07, 2014

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.

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...
Oct 07, 2014 0
Participant ,
Oct 07, 2014

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/

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...
Oct 07, 2014 0
Participant ,
Oct 09, 2014

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

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...
Oct 09, 2014 0
Participant ,
Oct 13, 2014

Copy link to clipboard

Copied

Does anyone else get this error?

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...
Oct 13, 2014 0
Adobe Community Professional ,
Oct 13, 2014

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.

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...
Oct 13, 2014 0
Participant ,
Oct 14, 2014

Copy link to clipboard

Copied

So the command line approach doesn't work either.....

Just confirming so I don't spend anymore time.....

Craig

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...
Oct 14, 2014 0
New Here ,
Oct 27, 2014

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

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...
Oct 27, 2014 0
Participant ,
Jan 13, 2015

Copy link to clipboard

Copied

Thanks aminefraj,

But did not work for me.

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...
Jan 13, 2015 0
Participant ,
Jan 13, 2015

Copy link to clipboard

Copied

I suddenly can using AIR 16 but not AIR 15.

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...
Jan 13, 2015 0
Participant ,
Jan 15, 2015

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?

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...
Jan 15, 2015 0
Participant ,
Jan 16, 2015

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

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...
Jan 16, 2015 0
Participant ,
Jan 23, 2015

Copy link to clipboard

Copied

Thanks builder623,

I cannot get it to work though. Using 16 as well.

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...
Jan 23, 2015 0
Participant ,
Feb 03, 2015

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.

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 03, 2015 0