Xcode7 ios10 “Could not find Developer Disk Image”

“Could not find Developer Disk Image”とエラーが出てきたので対応しました。

Xcode7の名前を変更xcode7.3.1.appなどに変更しましす。
Xcode8をダウンロードします。

私は、ダウンロードしたXcodeをXcode8.0appとリネームしました。

$cd /Applications/Xcode8.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/
$ls

10.0 (14A345) というのが見つかりましたので、

 

sudo ln -s /Applications/Xcode8.0.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/10.0\ \(14A345\) /Applications/Xcode7.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport

Xcodeの名前と10.0の後のカッコの中を文字を確認してsudoしましょう。

これで、xcode7でもios10が動くようになりました。

こちらを参考にしました。

stackoverflow.com