Skip to main content
stolennickname
Inspiring
September 23, 2014
Answered

Problem launching iOS Simulator with AIR 15.0.0.274

  • September 23, 2014
  • 4 replies
  • 4939 views

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 has been closed for replies.
Correct answer Jitender thakur

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

4 replies

stolennickname
Inspiring
October 24, 2014

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.

stolennickname
Inspiring
October 24, 2014

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

leoluz
Participating Frequently
October 24, 2014

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.

BenjaminParis
Participating Frequently
October 14, 2014

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

grahamsmith10151448
Inspiring
September 23, 2014

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..

Jitender thakurCorrect answer
Adobe Employee
September 24, 2014

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

stolennickname
Inspiring
September 24, 2014

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.

Adobe Employee
September 23, 2014

Hi,

Please try –platformsdk with following path

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

Thanks

Govinda Gupta

stolennickname
Inspiring
September 24, 2014

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.