加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

从终端运行React Native App(iOS)时出错

发布时间:2020-12-15 06:34:20 所属栏目:百科 来源:网络整理
导读:我正在使用官方的React Native网站上的教程。 使用以下内容构建我的项目: react-native run-ios 我得到的错误: Found Xcode project TestProject.xcodeprojxcrun: error: unable to find utility "instruments",not a developer tool or in PATHCommand fa
我正在使用官方的React Native网站上的教程。

使用以下内容构建我的项目:

react-native run-ios

我得到的错误:

Found Xcode project TestProject.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

虽然,当我从.xcodeproj运行应用程序,一切正常。

有什么建议么?

查看此链接: https://github.com/facebook/react-native/issues/7965.它似乎是命令行工具的位置的问题。

从下拉列表中选择您的Xcode版本并退出Xcode。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读