エラー状況
Mac OS Ventura 13.1にアップデートしたところ、 ExpoでiOSシミュレーターを開けないエラーが発生。› Opening on iOS...
Started Metro Bundler
xcrun exited with non-zero code: 2
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Unable to boot device because we cannot determine the runtime bundle.
No such file or directory
解決方法
Xcodeを立ち上げ-> Xcode メニュー
-> Open Developer Tool
-> Simulator でシミュレータを立ち上げ
シミュレータメニューの Device
-> Erase all content and settingsでセッティングをクリア
これで解決できました。
› Opening on iOS...
Started Metro Bundler
› Opening exp://10.11.165.242:19000 on iPhone 14 Pro Max