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

2019-02-28  本文已影响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

上一篇 下一篇

猜你喜欢

热点阅读