美文网首页
react-native run-ios error!!!

react-native run-ios error!!!

作者: 折木丶青梵 | 来源:发表于2019-03-13 18:30 被阅读0次

react-native run-ios

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

报错原因:
升级过xcode或者xcode多版本共存下没有设置默认版本

解决:

1、open Xcode
2、左上角Xcode > preferences > locations > Command Line Tools选择一个xcode版本
3、完全推出Xcode,重跑react-native run-ios,解决

相关文章

网友评论

      本文标题:react-native run-ios error!!!

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