idb
idb copied to clipboard
Instruments command support with Xcode 13
Description
At the moment when running any idb instruments
command idb_companion stucks, because instruments command line tool has been deprecated in Xcode 13. https://developer.apple.com/documentation/xcode-release-notes/xcode-13-release-notes
The downside is also that Apple has deprecated Xcode 12 for macOS Monterey, so there is no way to continue using it with xcode-select.
Reproduction
- Have macOS Monterey and Xcode 13 installed
- run any idb instruments command, i.e.
idb instruments --template "App Startup"
Solution
Adapt FBInstrumentsConsumer to use the new xcrun xctrace
API
Additional Information
-
idb
revision: v1.1.6