【发布时间】:2021-10-22 15:22:32
【问题描述】:
请注意,我正在寻找/Applications/Xcode.app/Contents/Developer/usr/bin/instruments util(小写),而不是Xcode.app/Contents/Applications 中的Instruments 应用程序。
我的电脑上有Xcode12 和Xcode13-beta-5。
运行 xcrun instruments -w <device id> 时,Xcode13 会显示 xcrun: error: Failed to locate 'instruments'。
在 Xcode12 中定位“仪器”:
olia@Olhas-MacBook-Pro % ls /Applications/Xcode.app/Contents/Developer/usr/bin/*instruments*
# output ✅
/Applications/Xcode.app/Contents/Developer/usr/bin/instruments
在 Xcode13 中定位“仪器”:
olia@Olhas-MacBook-Pro % ls /Applications/Xcode-beta.app/Contents/Developer/usr/bin/*instruments*
# output ❌
zsh: no matches found: /Applications/Xcode-beta.app/Contents/Developer/usr/bin/*instruments*
这里,Xcode-beta.app 是 Xcode13,Xcode.app 是 Xcode12。
【问题讨论】:
标签: ios xcode continuous-integration ios-simulator