鍍金池/ 問答/C  iOS/ mac 上運行 react-native 報錯

mac 上運行 react-native 報錯

Mac上已經(jīng)安裝了 react-native nodejs
執(zhí)行了命令 react-native init firstDemo
cd firstDemo
之后執(zhí)行了 react-native run-ios 這個命令之后 終端報錯 如下
Found Xcode project firstApp.xcodeproj
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

Command failed: xcrun instruments -s
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH

這個報錯怎么解決呢

回答
編輯回答
朕略傻

環(huán)境變量沒配置吧.
報錯說PATH這個路徑下沒有開發(fā)工具.
另外xcode不要刪.

2018年5月20日 22:15