Skip to main content
stolennickname
Inspiring
Sep 23, 2014 4:49 AM UTC
Answered

Problem launching iOS Simulator with AIR 15.0.0.274

I am not having any luck debugging my pure ActionScript AIR 15.0.0.274 project with the iOS Simulator included with Xcode 6.0.1 (OS X 10.9.5). Does iOS Simulator debugging work for anyone else with this combination of AIR & Xcode?

The packaging process errors out with the following message:

Uninstall Application From iOS Simulator

Unknown or unsupported SDK version:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

This topic is closed to new replies. Start a new post to keep the conversation going.
Jitender thakurCorrect answer
Adobe Employee
Sep 24, 2014 5:22 AM UTC

Hi Grahamsmith,

We have verified the issue at our end, things are working fine.

Could you please use following command to package and install app on simulator.

Package App :

adt -package -target ipa-test-interpreter-simulator -storetype <type> -keystore < Certificates > -storepass < password > <.ipa>  <.xml>  <swf> -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk/

Install App :

adt -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -package < ipa >

Launch App :

adt -launchApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -appid <APP ID>

Thanks

Jitender

25 replies

stolennickname
Inspiring
Oct 24, 2014 5:49 PM UTC

Ok let's see if this copy paste doesn't insert a space :

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk

I found that I needed to point to the specifically numbered alias to make the compiler happy. The exact number will depend upon your SDK install, take a peek inside your Xcode application bundle to make it match.

Translate
stolennickname
Inspiring
Oct 24, 2014 5:51 PM UTC

Nope, the nasty "S**" work still getting censored by the naughty word filter. There are some words developers must never mention.

Translate
leoluz
Participating Frequently
Oct 24, 2014 5:57 PM UTC

That space problem happens here at the forum when we paste it. But the important thing is that, with ou without the number inside Flach CC 2014 with Xcode 6, the iOS Simulator won't launch.

Translate
BenjaminParis
Participating Frequently
Oct 14, 2014 1:21 PM UTC

Same problem here, with Flash CC2014 latest release, AIR 15.0, Xcode 6.0.1 and IOS SDK 8.0.

Translate
grahamsmith10151448
Inspiring
Sep 23, 2014 11:43 AM UTC

Hi ,

The only way i found for Xcode6 with Air 15.0.0274 is to manually install the apps in the same place as the included native ones .

Go to the xcode directory below in applications:-

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications

you'll need to unpack the .ipa file and copy the .app into the  directory above, it needs authentication, then fire up the simulator

by opening xcode :-

on the xcode menu - go to :-

xcode - open developer tool - IOS simulator


you should see the app in which ever simulator you choose on the second screen - swipe left  .. fingers crossed..

Translate
Jitender thakurCorrect answer
Adobe Employee
Sep 24, 2014 5:22 AM UTC

Hi Grahamsmith,

We have verified the issue at our end, things are working fine.

Could you please use following command to package and install app on simulator.

Package App :

adt -package -target ipa-test-interpreter-simulator -storetype <type> -keystore < Certificates > -storepass < password > <.ipa>  <.xml>  <swf> -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk/

Install App :

adt -installApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -package < ipa >

Launch App :

adt -launchApp -platform ios -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -device ios-simulator -appid <APP ID>

Thanks

Jitender

Translate
stolennickname
Inspiring
Sep 24, 2014 8:06 PM UTC

Thanks Grahamsmith for verifying this. The command line approach works, so the problem does not lie in the AIR or iOS SDKs, so I'm marking this issue as fixed.

Unfortunately using the command line approach removes any debugging advantage I get from using my IDE of choice (IntelliJ IDEA). There is some severe problem with the build configuration process of IntelliJ IDEA 14 which continues to apply a bogus keystore value during the packaging process. This is outside the scope of Adobe though.

Translate
Adobe Employee
Sep 23, 2014 5:39 AM UTC

Hi,

Please try –platformsdk with following path

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SD Ks/iPhoneSimulator8.0.sdk

Thanks

Govinda Gupta

Translate
stolennickname
Inspiring
Sep 24, 2014 2:02 AM UTC

Adding the additional

-platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk

option does remove this error, but it is followed by another:

Signing options required to package IPA

Unfortunately I think something is broken in my IDE (IntelliJ IDEA 14) and the keystore settings from the build configuration are not being reflected in the ADT command. It is pointing to -keystore /Applications/IntelliJ IDEA 14.app/Contents/plugins/flex/lib/temp_keystore.p12 instead, and can't be overridden.

Translate