`

HowTo: Install iPhone SDK 2.0 – 3.1 for XCode 3.2[转]

 
阅读更多

原文链接

 

So… you’ve installed the latest SDK and XCode from Apple’s developer site only to find out that the only base SDK’s you are left to develop with are 3.2 and 4.0. What about if you have an iPhone 2G as your only development device? The iPhone 2G only goes up to iOS 3.1.3 and if you are stuck with the lowest base SDK of 3.2, you will not be able to push your apps to your iPhone.

This is exactly what happened to me. I downloaded the beta SDK for the 4.0 iOS when it came out. Little did I know that when you install that, it removes all SDK’s prior to 3.2.

Luckily for us, Apple is kind enough to keep previous versions of Xcode and their SDK’s available for download. Here is a list of available downloads.

You have to be logged into the Apple developer site http://developer.apple.com to download the above listed SDK’s. I downloaded the 3.1.3 Snow Leopard SDK since I already have 3.2 and 4.0 and 3.1.3 includes all of the above mentioned SDK’s as well as 2.0 and 2.1.

Once you’ve downloaded the SDK of your choice it should be in the form of a DMG, go ahead and mount that and open up the resulting volume. You should get something that looks like the image below.

iPhone SDK Volume

iPhone SDK Volume

At this point you will need to open up the Packages folder rather then running the installer because all we want are the SDK’s. When you open up the Packages folder scroll down a bit until you see the SDK’s. You should see something similar to the screen shot below.

Packages Folder

Packages Folder

You’ll see that there are device SDK’s and simulator SDK’s. You don’t have to install the simulator SDK’s if you don’t want to because all we are really after here is to be able to push our apps to an iPhone with an iOS earlier then 3.2. Double click on one of the iPhone SDK’s and you will be presented with an installer screen like the one below.

iPhone SDK Installer Screen

iPhone SDK Installer Screen

Click on Continue and and you will get to the next screen similar to the one in the screen shot below

iPhone SDK Installer Screen

iPhone SDK Installer Screen

On this screen you need to click on the drive you want to install the SDK to. In most cases it will be your primary Hard Drive. If you have your Developer tools installed on a different drive then you should select that one instead. Next you need to click on Choose Folder and you will be presented with a Choose Folder dialog similar to the screen shot below.

Choose Folder Dialog

Choose Folder Dialog

If you are like me and installed Xcode in the default location then you should have a developer folder in the root of your Hard Drive. Click on the Developer folder and then click choose. You will see a screen similar to the one below.

iPhone SDK Installer Screen

iPhone SDK Installer Screen

You can verify on this screen that you’ve selected the proper folder. It should have a blue circle around the Hard Drive and if you’ve picked the Developer folder it should say the following on the bottom “You have chosen to install this software in the folder Developer on the disk Macintosh HD. Click Continue and you will be presented with a screen similar to the below screen shot.

iPhone SDK Installer Screen

iPhone SDK Installer Screen

This is just a confirmation screen, from here you just need to click on Install. You may be prompted with a password screen. Enter your password to continue with the installation. You should see a screen similar to the one below.

iPhone SDK Installer Progress Screen

iPhone SDK Installer Progress Screen

Depending on the SDK you are installing this part can take up to 5 minutes to complete. When the installation is done you will be presented with a screen similar to the one below.

iPhone SDK Install Complete

iPhone SDK Install Complete

Click on close. At this time your installation of the SDK is complete. You can verify that the SDK installed successfully by launching Xcode. Once Xcode is launched open an existing project or start a new one and go to Project -> Project Settings. You should see a screen similar to the below screen shot.

Xcode Project Settings - General

Xcode Project Settings - General

Click on the drop down towards the bottom where you can choose your base SDK and if all went well you should see a screen similar to the below depending on which SDK you installed.

iPhone SDK's

iPhone SDK's

Pick your SDK of choice and enjoy. Hopefully this tutorial has helped someone with their project. I spent many hours the other night researching how I could install older version SDK’s and once I found an easy method I thought I would share it with the rest of the world. If for some reason you don’t see your SDK listed here then it may have been installed in the wrong folder. If you can’t get it working feel free to ask me for help. I’m always willing to help out a fellow developer.

Similar Posts:

分享到:
评论

相关推荐

    各个版本的Xcode/IOS SDK官网下载

    - [iPhone SDK 3.1 (Xcode 3.2.1)](http://developer.apple.com/iphone/download.action?path=/iphone/iphone_sdk_3.1__final/iphone_sdk_3.1_with_xcode_3.2_final__snow_leopard__10a432.dmg) ### 四、iPhone ...

    iphone-sdk-2.0-headers

    压缩包中的文件“include-2.0-sdk-ready-for-iphone”很可能是一个包含所有SDK头文件的目录,开发者通常会将这个目录集成到他们的开发环境中,以便在编写代码时能够进行引用和编译。 关于iPhone SDK 2.0的知识点: ...

    IPhone sdk旧版下载地址

    - 下载地址:http://developer.apple.com/ios/download.action?path=/iphone/iphone_sdk_3.1__final/iphone_sdk_3.1_with_xcode_3.2_final__snow_leopard__10a432.dmg 6. **iOS SDK 3.1.2 with Xcode 3.1.4 ...

    More iPhone 3 Development: Tackling iPhone SDK 3

    根据给定的信息,我们可以深入探讨与“More iPhone 3 Development: Tackling iPhone SDK 3”相关的技术知识点。本文将围绕这一主题展开讨论,并结合给定的部分内容进行详细解析。 ### 一、iPhone SDK 3简介 #### ...

    iPhone SDK 3.1.3 with xCode 3.2.1 for SnowLeopard.torrent

    iPhone SDK 3.1.3 with xCode 3.2.1 bt下载种子链接

    iOS 10 SDK Development: Creating iPhone and iPad Apps with Swift

    This completely revised and updated edition of the bestselling iOS guide shows you how to pull in the SDK's enormous feature set and deliver powerful, real-world apps for iPhone and iPad using modern...

    Advanced Apple Debugging & Reverse Engineering v2.0(updated for Xcode9)

    The v2.0 release of Advanced Apple Debugging and Reverse Engineering brings everything up to the iOS 11 and Xcode 9.1 level.

    Beginning iPhone Development: Exploring the iPhone SDK

    ### 关于《Beginning iPhone Development: Exploring the iPhone SDK》的知识点总结 #### 一、书籍简介与适用对象 《Beginning iPhone Development: Exploring the iPhone SDK》是一本面向初学者的iPhone应用程序...

    融云SDK2.0快速集成

    【融云SDK2.0快速集成】:融云是一款国内知名的即时通讯云服务提供商,其SDK2.0版本为开发者提供了更加完善的通信功能和优化的性能。本教程将引导开发者如何快速集成融云SDK2.0,实现聊天、音视频通话、群组管理等...

    iPhoneOS12.1.sdk,低版本xcode不能编译程序到高版本的手机上

    标题“iPhoneOS12.1.sdk,低版本xcode不能编译程序到高版本的手机上”揭示了一个关键问题:使用较旧版本的Xcode时,开发者可能无法为运行新版本iOS系统的设备编译应用程序。这主要是因为每个版本的Xcode都包含了与之...

    Beginning iPhone Development:Exploring the iPhone SDK

    - **定义与作用**:iPhone SDK(Software Development Kit)即iPhone软件开发工具包,是苹果公司提供的一套用于开发iPhone和iPad应用程序的开发工具。 - **组成部分**: - **Xcode**:主要的集成开发环境(IDE),...

    iphone_sdk_3.1.3_with_xcode_3.2.1__snow_leopard__read_me.pdf

    关于Xcode 3.2.1与iPhone SDK 3.1.3在Mac OS X 10.6 Snow Leopard上的应用 Xcode 3.2.1与iPhone SDK 3.1.3是专为Mac OS X 10.6 Snow Leopard设计的完整开发工具包。这份文档详细介绍了Xcode 3.2.1与iPhone SDK ...

    RxSwift-Xcode8 & swift3.2

    RxSwift与Swift3.2以及Xcode8的结合使用,能够帮助开发者编写出更加结构化和可维护的代码。 首先,响应式编程(Reactive Programming)是一种编程范式,它通过使用数据流(或称为事件流)和变化传播来构建应用。在...

    iOS 9 SDK Development: Creating iPhone and iPad Apps with Swift

    iOS 9 gives developers new tools for creating apps for iPhone and iPad, and our new edition of the classic iOS guide is updated to match. By writing clean, expressive, and maintainable Swift code, you...

    xcode10-xcode14各版本sdk

    ios xcode10-xcode14各版本sdk,主要包括7 8 9 10 11 12 13 14个版本以及各小版本,博客中有截图。

    Xcode 13,iOS15SDK资源下载

    不想更新Xcode的,还想在Xcode 上运行的可以将SDK移入指定路径/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

    IOS11SDK xcode8调试IOS11

    xcode8调试IOS11 Shift+Command+G进入 /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport 把解压后的文件复制进去。

    iPhone in Action: Introduction to Web and SDK Development

    Using Apple's standard tools like Dashcode, Xcode, and Interface Builder, you'll learn how to best use both approaches: iPhone web and SDK programming. This book is intended as an introduction to its...

    xcode iPhone sdk 10.0

    从xcode8中拷贝出来的sdk,方便低版本的xcode使用真机调试。 具体存放位置/Applications/Xcode.app[请确认你的xcode名称]/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/ 另:找到在“程序”中...

Global site tag (gtag.js) - Google Analytics