简体   繁体   中英

How to install iOS SDK on XCode 3.2.6

I have Mac 10.6.8 and XCode already installed with version 3.2.6

I need the development environment to develop some apps but I don't have the iOS SDK.

I've seen that I would need to update xcode in order to get the iOS SDK, but when I go to the appstore and ask for the installation file it says me that i need a version 10.8 or later.

Is there a way to get the iOS SDK without the updating of xcode?

You can deploy earlier version of xcode, 4.2 should be fine. You can download it from developer.apple.com in case you're a registered developer. Otherwise, it's up to you to find another opportunity.

Is there a way to get the iOS SDK without the updating of Xcode?

Yes. Just review the highly cited answer here

The basic idea is to download the .dmg for Xcode with one of the SDK's that you would like to build against.

Then:

  1. Mount the .dmg as if you are preparing to install
  2. Right-click the .dmg and view inside the package
  3. Navigate to the folder Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
  4. Copy the contents of the target SDK folder and paste them into the relative path on your installed Xcode

You can download many different versions of Xcode (and their corresponding SDK's from this developer only website )

Note: You can and should use the latest Xcode version available to you. For your OS version that is Xcode 4.2 for Snow Leopard.

Recommendation:

Check to see if you can update your OS based on age of your machine (and do so if possible).

Xcode 4.2

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM