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

Updated Xcode .. iOS 5.1 SDK is missing. [HELP]

Engaged ,
Sep 24, 2012 Sep 24, 2012

Is it posssible to download the 5.1 SDK from somewhere so I can command line compile with iOS6 or 5.1 SDK?

TOPICS
Development
2.2K
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
Guest
Sep 24, 2012 Sep 24, 2012

You actually don't need it.

I believe the 5.1 SDK is included in the AIR 3.4 download both on Windows and Mac machines - we've tried on both.

We alway used to use the external link to 5.0/5.1 SDK but now by just using the standard adt command script, we find the compiled ipa is almost 2 MB smaller without using 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
Engaged ,
Sep 24, 2012 Sep 24, 2012

So I just leave out "

-platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.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
Guest
Sep 24, 2012 Sep 24, 2012

Try it - that is exactly what we have been doing.....

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
Explorer ,
Dec 14, 2012 Dec 14, 2012

Hello Macholden, please, tell me,

1. I have MacOS 10.6.8 - can I still access XCode SDK 5.1 (?) or I'll need to updated OS to use 5.1.

2. Does AIR 3.4 always uses built-in SDK 5.1, or it'll only work if there is any SDK 5.1 available in the machine, or we need to explicitly tell AIR to work as SDK 5.1.

3. If 1 is yes, then how can I obtain SDK 5.1 to use in MacOS 10.6.8 (?) I couldn't found any downloadable link for 5.1 in Apple Developers site anymore.

Sorry, I'm a little confuse with these Retina and versioning things..

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 ,
Dec 14, 2012 Dec 14, 2012

AIR 3.4 effectively includes the 5.1 SDK. To get the 6.0 SDK, if you want to submit an app that supports the iPhone 5 screen for example, then use AIR 3.5 or 3.6.

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
Explorer ,
Dec 16, 2012 Dec 16, 2012

Hello Colin

Thanks for your comment, though I'm having strange error while compiling an ipa here.. I've installed trials FB 4.7 - I can see there are 2 SDKs in the installed folder - 3.6.0 and 4.6.0 (is the 4.6.0 is supposed to be 4.7.0 SDK?). I've created a simple actionScript mobile project of which namespace version is 3.4 in the descriptor file. While compiling the SWF through command line pointing ADT path to newly installed FB4.7's 4.6.0 SDK, command line throws error of invalid namespace of AIR 3.4. Wouldn't this supposed to use AIR 3.4 while compiling?

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
Guest
Dec 16, 2012 Dec 16, 2012

For an ActionScript project, the AIR SDK placed at: /Applications/Adobe\ Flash\ Builder\ 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.xxxxxx/AIRSDK is used.

You can check the AIR SDK version present by default by using the following command on the terminal (Replace xxxxxx by the one present on your system):

/Applications/Adobe\ Flash\ Builder\ 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.xxxxxx/AIRSDK/bin/adt -version

If it is less than 3.4,

1) cd /Applications/Adobe\ Flash\ Builder\ 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.xxxxxx

2) Backup your AIRSDK directory.

3) Download and extract the 3.4 AIR SDK in your AIRSDK directory.

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
Explorer ,
Dec 16, 2012 Dec 16, 2012
LATEST

Hello Neh

Thanks! I never knew the ADT has a different location than the usual SDKs folder in FB4.7. Fixing the ADT path built the IPA now.

Though I'd ask for suggestion on different aspect now - I'm testing the app in an iPhone 4S - so it's supposed to be in a retina display and the screen elements are coming visibly smaller also, but the screenResolutionX and Y, coming as 640, 960 respectively. Shouldn't this come by doubling those said sizes? DPI is also coming 326, is that supposed to be also?

Thank you!.

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