真机调试的时候使用Chrome联机调试
2017-11-27 本文已影响74人
袁俊亮技术博客
真机调试的时候使用Chrome联机调试
XCode输出error
Runtime is not ready for debugging. Make sure Packager server is running.
解决方案
在RCTWebSocketExecutor.m
文件中,把localhost
修改为与AppDelegate.m
中相同的IP地址(一般为电脑IP).