xcode4.3 如何手动安装iPhone simulator 4.3/5.0

来源:互联网 发布:海外域名注册 编辑:程序博客网 时间:2024/05/21 14:19
随着苹果升级xcode4.3.1 ,安装之后发现,只有iPhone simulator 5.1,开发中平时使用的iPhone simulator 4.3/5.0,没有了很是不方便。想安装iPhone simulator 4.3/5.0,还需要从再次网络下载,网络下载的速度确实不给力,很是浪费时间。不过现在有了一个好方法,可以从xcode4.2中把iPhone simulator 4.3/5.0的文件拷贝出来,当然你首先确保你的xcode4.2没有被你删除。安装好xcode4.3.1之后,首先,我们前往Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs,你会看到名字为iPhoneSimulator4.3.sdk和iPhoneSimulator5.0.sdk的文件夹。接下来新减一个Finder窗口,前往/Applications ,在xcode图标右键,显示包的内容,前往Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs,你会看到名字为iPhoneSimulator5.1.sdk,这个文件夹是存放iPhoneSimulator的信息,所以把iPhoneSimulator4.3.sdk和iPhoneSimulator5.0.sdk的文件夹拖进来(或者复制过来),就可以了。重启xcode4.3.1 ,选择一个是曾经用iPhone simulator 4.3/5.0编译过的target,你就可以看到可以选择iPhone simulator 4.3/5.0/5.1,就是这么简单!
原创粉丝点击