美文网首页
mac 运行 react native run-ios 报错处理

mac 运行 react native run-ios 报错处理

作者: 湖北的白 | 来源:发表于2019-02-28 13:33 被阅读1次

用vs code运行react-native 工程时报错:

Could not debug. Error while executing command 'react-native run-ios --simul

解决方法:
在终端执行如下命令

 sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

注意:前提是你已经安装了xcode

相关文章

网友评论

      本文标题:mac 运行 react native run-ios 报错处理

      本文链接:https://www.haomeiwen.com/subject/mpuhuqtx.html