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/
相关推荐
for_ever_love__12 小时前
UI学习:多界面传值的正向传值(属性传值)和反向传值(代理传值)
学习·ui·ios·objective-c
开心就好202514 小时前
全面介绍iOS开发工具:Xcode、AppCode、CocoaPods、Fastlane和Git
后端·ios
懋学的前端攻城狮15 小时前
数据持久化与缓存策略:在离线与在线间架起桥梁
ios·swift
~央千澈~16 小时前
以cocos3.8.8开发的游戏为例商业实战项目举例cocos打包ios苹果安装包ipa完整详细教程-优雅草卓伊凡
ios
SameX18 小时前
iOS 足迹 App 的成就系统,我推倒重做了一次——踩了3个坑之后
ios
一个小浪吴啊18 小时前
MacOS/Linux/Windows 跨平台一键安装OpenCode指南
linux·windows·macos·opencode
小草cys18 小时前
最简单:一根网线直连,mac mini Windows 控制 Mac mini mac
windows·macos·局域网直连
SameX18 小时前
我做了一个把专注计时变成「声音护照」的 iOS App,聊聊数据可视化和成长系统的设计思路
ios
SameX19 小时前
我用 SpriteKit 给存钱罐装了个物理引擎
ios
开心就好202519 小时前
Charles配置HTTP和HTTPS抓包完整指南
后端·ios