Skip to main content
Inspiring
Aug 1, 2012 3:15 AM UTC
Question

Failure to install AIR 3.3 application into iOS simulator

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 is closed to new replies. Start a new post to keep the conversation going.

8 replies

Aug 3, 2012 5:39 AM UTC

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.

Translate
Inspiring
Aug 3, 2012 6:34 AM UTC

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
Translate
Aug 3, 2012 6:47 AM UTC

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?


Translate
chris.campbell
Legend
Aug 2, 2012 12:21 AM UTC

Forwarding to the iOS team for their review.

Chris

Translate