Xcode 默认只有对应的的模拟器,我们作为开发者就必须适配多个版本的系统.这个时候就需要我们在多个模拟器中进行联调适配.但由于网络问题,下其它版本的模拟器总是下载一半又失败,并Xcode还没断点续传,一直下载不了,下面提供方法思路,一劳永逸.(至少目前是这样的.)
- 打开
Xcode
, 进入Preference
中的Components
面板
- 点击任意的下载按钮,稍等一会儿,进入
~/Library/Caches
,能看到com.apple.dt.Xcode
文件, 就可以取消下载了。 - 点击击
com.apple.dt.Xcode
文件选择显示包内容
- 进入
Downloads
目录 (如果没有, 则手动创建一个 Downloads 目录) - 将下载好的文件移动到
Downloads
目录 (不要改动文件名) - 重启
Xcode
, 回到Components
面板, 点击对应下载好的 Simulator - 静静等待奇迹的发生~~~
作为一个大帅比,奉上所有下载链接:
iOS 15.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_5-15.5.1.1653527639.dmg
iOS 15.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_4-15.4.1.1650505652.dmg
iOS 15.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK15_2-15.2.1.1643410298.dmg
iOS 14.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_5-14.5.1.1621461325.dmg
iOS 14.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_4-14.4.1.1611903691.dmg
iOS 14.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_3-14.3.1.1611873653.dmg
iOS 14.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_2-14.2.1.1605311653.dmg
iOS 14.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_1-14.1.1.1604100028.dmg
iOS 14.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK14_0-14.0.1.1604100028.dmg
iOS 13.7
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_7-13.7.1.1599165590.dmg
iOS 13.6
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_6-13.6.1.1597276955.dmg
iOS 13.5
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_5-13.5.1.1591226335.dmg
iOS 13.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_4-13.4.1.1586370836.dmg
iOS 13.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_3-13.3.1.1580170331.dmg
iOS 13.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_2-13.2.1.1575590084.dmg
iOS 13.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_1-13.1.1.1571440502.dmg
iOS 13.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK13_0-13.0.1.1571440502.dmg
iOS 12.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_4-12.4.1.1568665771.dmg
iOS 12.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_2-12.2.1.1557987768.dmg
iOS 12.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_1-12.1.1.1543439531.dmg
iOS 12.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK12_0-12.0.1.1537588161.dmg
iOS 11.4
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_4-11.4.1.1527703358.dmg
iOS 11.3
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_3-11.3.1.1524350608.dmg
iOS 11.2
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_2-11.2.1.1516308624.dmg
iOS 11.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_1-11.1.1.1510784422.dmg
iOS 11.0
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK11_0-11.0.1.1508875951.dmg
iOS 10.3.1
https://devimages-cdn.apple.com/downloads/xcode/simulators/com.apple.pkg.iPhoneSimulatorSDK10_3-10.3.1.1495751597.dmg