說明:更新了手機的到了iOS 10.0.2。真機調試時候提示"Could not find Developer Disk Image"
並且之前就下載了Xcode8,但是沒有安裝Xcode8。因為項目快結束了,依舊使用的Xcode7.3,准備迭代版本開發在更新使用Xcode8。但是真機調試依然要測試iOS 10的。
下面顯示抽取了iOS 10磁盤圖片步驟
- 找到Xcode8,右鍵顯示包內容
- 找到iOS10 的鏡像文件
如果沒有的話,可以直接從網盤的下載,我已經上傳到網盤上了
- 鏈接: http://pan.baidu.com/s/1dE75X8P 密碼: 3jf5
下面是添加步驟
方法一:
- 准備好10.0 的磁盤圖片文件
- 在finder下,進入應用程序
- 找到Xcode軟件,右鍵顯示包內容
- 找到DeviceSupport文件夾,並將文件拖入文件夾中。
方法二:
- 在finder下選擇通過前往文件夾選項
- 通過添加DeviceSupport的路徑找到DeviceSupport。
- 顯示結果
Tip:
- DeviceSupport的默認路徑:/Applications/Xcode/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- 我的路徑:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
- Xcode 7.3軟件的路徑:/Applications/Xcode.app,這個不定的,大部分會直接放到"應用程序"這個目錄下,有些人添加到 "應用程序"的某個文件夾下。因為我設置了顯示文件后綴,所以是Xcode.app。
- DeviceSupport在Xcode 7.3包的路徑:/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport,這個路徑固定不變
<---------------------------------------------------------------------------------------------------------------------------------------------------------------------------->
路徑的全部顯示效果: