在 iPhone SE 模拟器中进行测试时,按 CMD+R 会在 xCode 中冻结应用程序并显示此错误:
React Native 版本:0.34,平台:iOS。
将 xCode 升级到 8.0 版后开始
I saw this thread where some people were reporting issues with live reloading. Although their issues were not the same as yours perhaps the root of the problem is the same. Their solution was found in another thread and it was related to Watchman. In particular, their problem was solved by changing the permissions of the following file:
chmod 644 ~/Library/LaunchAgents/com.github.facebook.watchman.plist