これなに
CoreSimulatorService がも使えないよと言われた時の対応方法
エラー内容
Simulator 起動しようと思ったらこんなエラーが
Loaded CoreSimulatorService is no longer valid for this process.
Simulator services will no longer be available.
Error=Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused"
UserInfo={NSLocalizedDescription=CoreSimulator.framework was changed while the process was running.
This is not a supported configuration and can occur if Xcode.app was updated while the process was running.
Service version (947.17) does not match expected service version (947.13).}
解決方法
とりあえずキャッシュ吹っ飛ばしたら解決しました。
以前書いた記事と同様に以下のコマンドを実行して解決。
rm -rf ~/Library/Developer/CoreSimulator/Caches/*