Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Can't Debug from Flash to iOS Simulator

Participant ,
Oct 05, 2014 Oct 05, 2014

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

TOPICS
Air beta
2.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Jan 13, 2015 Jan 13, 2015

I suddenly can using AIR 16 but not AIR 15.

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 07, 2014 Oct 07, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 07, 2014 Oct 07, 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/

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 09, 2014 Oct 09, 2014

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 13, 2014 Oct 13, 2014

Does anyone else get this error?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 13, 2014 Oct 13, 2014

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 14, 2014 Oct 14, 2014

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

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

Craig

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 27, 2014 Oct 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 13, 2015 Jan 13, 2015

Thanks aminefraj,

But did not work for me.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 13, 2015 Jan 13, 2015

I suddenly can using AIR 16 but not AIR 15.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 15, 2015 Jan 15, 2015

Hi builder623,

I installed AIR SDK 16 but did not succeed yet. Can you give more details about how you did it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 16, 2015 Jan 16, 2015

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 23, 2015 Jan 23, 2015

Thanks builder623,

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Feb 03, 2015 Feb 03, 2015
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines