美文网首页转ios开发
Xcode安装旧版本iOS SDK

Xcode安装旧版本iOS SDK

作者: 谢昆明 | 来源:发表于2017-02-18 21:35 被阅读643次
  1. sdk与xcode对应关系
    iOS SDK

  2. 下载对应的xcode
    下载地址

  3. 双击dmg文件,系统自动挂载到/Volumes
    Xcode7.0.1.dmg对应ios sdk 9.0

拷贝sdk
sudo cp -a /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/
拷贝模拟器
sudo cp -a /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk

  1. 重启Xcode

打赏

如果这篇文章解决了您的问题,让我买根烟抽抽。

支付宝.jpg 微信.jpg

相关文章

网友评论

    本文标题:Xcode安装旧版本iOS SDK

    本文链接:https://www.haomeiwen.com/subject/vssdwttx.html