Unable to boot the iOS simulator?

open -a Simulator

it report Unable to boot the iOS simulator error

> 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

~/Library/Caches
~/Library/Developer/CoreSimulator/Caches
~/Library/Developer/Xcode/iOS\ DeviceSupport/ # all subfolders except 15.5 (19F77) arm64e
~/Library/Developer/Xcode/DerivedData/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

0010000100

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值