Xcode 6.1.1 如何安装 iOS 7.1 sdk ?

2015-01-12 08:32:28 +08:00
 likaci
默认的下载太慢
用迅雷下载下来 ios_7_1_simulator_rdq52dx.dmg 安装上去之后
复制到
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
发现**没效果**
---
13525 次点击
所在节点    iDev
9 条回复
haosxianr
2015-01-12 08:45:18 +08:00
Xcode > Preference > Download ios7Simularor下载上
zeayes
2015-01-12 09:25:09 +08:00
要check and install一下吧
likaci
2015-01-12 09:33:30 +08:00
@haosxianr 下载太慢了
@zeayes 安装了,也拷贝了
---
刚才又捋了一遍
http://stackoverflow.com/questions/24045307/is-it-possible-to-install-ios-7-sdk-on-xcode-6
发现这样解决

ln -s /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk

This should link the iOS 7 SDK for iPhone (not sim), allowing you to select iOS 7 as the Base SDK in Xcode 6 Beta. If you want to do this for the simulator, replace iPhoneOS.platform with iPhoneSimulator.platform.
haosxianr
2015-01-12 10:04:36 +08:00
@likaci 你这样默认用的是iOS7的SDK吧,你确定iOS8的API你能用?
belin520
2015-01-12 10:24:52 +08:00
有,我就是下载下来,拉到那个目录下,然后Xcode里面就有了,没做任何其他操作
likaci
2015-01-12 11:04:03 +08:00
@haosxianr 呃…晕了
按照路径把替身删除,发现仍然可以用。
起作用的还是iPhoneSimulator.platform里的文件…
可昨晚明明放过去没作用啊!
zeayes
2015-01-12 12:56:43 +08:00
@likaci 楼主这样做是为啥?
如果是调试iOS7.1,可以直接用iOS8的API写接口,再用7.1的模拟器调试不就OK了
zeayes
2015-01-12 12:58:00 +08:00
@likaci 我用xcode装7.1的模拟器时,xcode并没有帮你安装7.1的sdk
tunnyios
2015-07-02 17:16:19 +08:00
楼主,我也碰到这种问题了。怎么解决呢?xode6.4版本自带了IOS8.4SDK...下载了7.1的sdk,复制到sdks目录里面好像xcode不识别

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/161290

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX