问题阐述:前几天运行好好的RN程序,今天运行就直接报错了,报错内容如下:(Mac)
Failed to launch the app on simulator, An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405): Unable to lookup in current state: Shutdown

解决方案:
1. 关于本机 -> 更多信息 -> 存储空间 -> 点击存储空间设置-> 开发者 -> 清除缓存-> 我删除了下面图片中的三项。

2. 然后重新运行
npx react-native run-ios
本文描述了一位开发者的RN程序在Mac上突然无法启动iOS模拟器的问题,报错代码405。解决方法包括清理开发者缓存并提供详细步骤。
5万+

被折叠的 条评论
为什么被折叠?



