xcode 4.6安装老版本iphone sdk 安装iphone 模拟器

本文为本人博客原创文章,谢绝转载

http://www.lwxshow.com/tutorials/xcode-4-6-install-older-version-iphone-sdk-and-iphone-simulator.html

 

code 4.6安装老版本iphone sdk

xcode 4.6安装iphone 模拟器

 

这里以安装 iphone os 5.1 为例

 

 

重要:

前提安装了xcode 4.6 并且交xcode.app复制到应用程序目录下

 

1.下载xcode 4.3.2 安装

 

sdk 安装

 

2.安装后会加载一个xcode 卷

3.切换到桌面 finder --->前往-->文件夹输入 /Volums/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

4.复制 iPhoneOS5.1.sdk 文件夹到如下目录

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs

 

simulator 安装

 

 

5.切换到桌面 finder --->前往-->文件夹输入 /Volums/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

6.复制 iPhoneSimulator5.1.sdk文件夹到如下目录

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs

 

7.在Finder中推出Xcode卷

8.然后重新启动 xcode 4.6

    会提示安装一个兼容旧版本插件.

9.重新启动后就可以在新建工程-->builder setting中 base sdk看到 ios 5.1

10.模拟器也会多出两个 iphone 5.1 ipad 5.1

 

 

猜你喜欢

转载自xshow.iteye.com/blog/1831253
今日推荐