【发布时间】:2021-10-19 15:37:41
【问题描述】:
instruments 命令行工具已在 Xcode 13 中删除,Apple 要求改用 xctrace。
但我不确定如何在终端上运行 React-Native 项目时修复它。
npx react-native run-ios --device "iPhone"
实际上,我看到以下错误。
xcrun: error: Failed to locate 'instruments'.
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
error Command failed: xcrun instruments -s
有人有解决办法吗?
【问题讨论】:
标签: ios xcode react-native xcode13