react-native run-ios
error Command failed: xcrun instruments -s
xcrun: error: unable to find utility "instruments", not a developer tool or in PATH
報(bào)錯原因:
升級過xcode或者xcode多版本共存下沒有設(shè)置默認(rèn)版本
解決:
1蠢壹、open Xcode
2嗓违、左上角Xcode > preferences > locations > Command Line Tools選擇一個xcode版本
3、完全推出Xcode图贸,重跑react-native run-ios蹂季,解決