Unable to boot the iOS simulator?

python 复制代码
open -a Simulator

it report Unable to boot the iOS simulator error

python 复制代码
> expo start --ios

Starting project at /Users/binary/code/app/StickerSmash
(node:816) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Starting Metro Bundler
Error: xcrun simctl boot 81CF8481-3940-416C-86B4-8D307D50018C exited with non-zero code: 60
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=60):
Unable to boot the Simulator.
launchd failed to respond.
Underlying error (domain=com.apple.SimLaunchHostService.RequestError, code=4):
        Failed to start launchd_sim: could not bind to session, launchd_sim may have crashed or quit responding
Error: xcrun simctl boot 81CF8481-3940-416C-86B4-8D307D50018C exited with non-zero code: 60
    at ChildProcess.completionListener (/Users/binary/code/app/StickerSmash/node_modules/@expo/spawn-async/src/spawnAsync.ts:67:13)
    at Object.onceWrapper (node:events:634:26)
    at ChildProcess.emit (node:events:519:28)
    at maybeClose (node:internal/child_process:1105:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5)
    ...
    at spawnAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/spawn-async/src/spawnAsync.ts:28:21)
    at xcrunAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/xcrun.ts:11:28)
    at simctlAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/simctl.ts:354:20)
    at bootDeviceAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/simctl.ts:274:11)
    at Object.bootAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/simctl.ts:247:9)
    at action (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/AppleDeviceManager.ts:56:25)
    at waitForActionAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/utils/delay.ts:22:22)
    at ensureSimulatorOpenAsync (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/AppleDeviceManager.ts:52:48)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.resolveAsync [as resolveDeviceAsync] (/Users/binary/code/app/StickerSmash/node_modules/@expo/cli/src/start/platforms/ios/AppleDeviceManager.ts:87:20)

Delete cache files

python 复制代码
~/Library/Caches
~/Library/Developer/CoreSimulator/Caches
~/Library/Developer/Xcode/iOS\ DeviceSupport/ # all subfolders except 15.5 (19F77) arm64e
~/Library/Developer/Xcode/DerivedData/
相关推荐
Misnice2 小时前
Mac查看本机ip地址
网络协议·tcp/ip·macos
谈吐大方的鹏sir2 小时前
SwiftUI-Image组件学习
ios
鹏多多.3 小时前
flutter-完美解决键盘弹出遮挡输入框的问题
android·flutter·ios·前端框架
杂雾无尘5 小时前
SwiftUI 动画新技能,让你的应用「活」起来!
ios·swiftui·swift
林大鹏天地5 小时前
iOS18系统 [YYKVStorage _dbClose] 偶现崩溃
ios
林大鹏天地6 小时前
使用Xcode16打包后,App在暗夜模式下,iOS18 切换Tabbar的item,会有一根白色线条闪过。
ios
2501_915909066 小时前
iOS 加固工具实战解析,主流平台审核机制与工具应对策略
android·ios·小程序·https·uni-app·iphone·webview
2501_915106328 小时前
iOS WebView 调试实战,第三方脚本加载失败与内容安全策略冲突问题排查指南
android·ios·小程序·https·uni-app·iphone·webview
岁忧15 小时前
macOS配置 GO语言环境
开发语言·macos·golang
笑尘pyrotechnic20 小时前
DocC的简单使用
ios·objective-c