Xcode 6.1 にアップデートを行うと iOS 8.0 Simulator が無くなり、追加でダウンロードも行えない状況なので Xcode 6.0 に含まれているシミュレータを移植してみました。
一応起動ぐらいは確認できていますが、当然ながら動作の保証を行えるものではありません。
環境
今回は下記の環境で試しました。
- OS X 10.10 ( Yosemite )
- Xcode 6.1 インストール済み
必要なもの
- Xcode 6.0
手順
デスクトップに Xcode 6.0 のディスクイメージを展開したものを置いて作業してます。
1. iPhoneSimulator sdk のコピー
sudo cp -a ~/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk
2. iOS simruntime のコピー
sudo cp -a ~/Desktop/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS\ 8.0.simruntime /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/
3. iOS simruntime の設定変更
plutil -replace 'runtimeDir' -string 'iPhoneSimulator8.0.sdk' /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS\ 8.0.simruntime/Contents/Resources/profile.plist
4. OS X の再起動
Xcode の再起動では反映されない模様。