Skip to main content
Inspiring
August 1, 2012
Question

Failure to install AIR 3.3 application into iOS simulator

  • August 1, 2012
  • 8 replies
  • 1325 views

When I try to install the app into the simulator (adt -installApp) I get:-

Unknown or unsupported SDK version: /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk

I'm using Mac OS X 10.7.4 (Lion) and I'm trying to use the iPhone simulator as per support for iOS simulator blog post. I've tried different versions of the sdk (5.1,5.0,4.3,4.0) and I get the same result.

I'm using Flash Builder 4.6 and I've updated the sdk to Air 3.3 as per this article and I've extracted the sdk from XCode 4.4 per this article.

What am I doing wrong and what do I need to do to get it working?

This topic has been closed for replies.

8 replies

August 3, 2012

Hi Chris,

You are on OSX 10.7.4. You do not need to use hack provided here

Using such hacks is not supported. Instead, you could provide the path to the mounted Simulator path or drag the XCode.app to /Applications and use this path:

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

This should work.

Inspiring
August 3, 2012

Firstly, what do you mean by:-

provide the path to the mounted Simulator path?

My XCode is Version 4.4 (4F250) and it's already in /Applications. When I use:-

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

I now get:-

Unknown or unsupported SDK version: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk
August 3, 2012

Ok,

By mounted path, I meant that the recent XCode versions don't get installed as earlier, but the .app is mounted.

Can you provide the command that you are using to package and install the app on Simulator?


chris.campbell
Legend
August 2, 2012

Forwarding to the iOS team for their review.

Chris