idb icon indicating copy to clipboard operation
idb copied to clipboard

Instruments command support with Xcode 13

Open artem888 opened this issue 3 years ago • 0 comments

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

  1. Have macOS Monterey and Xcode 13 installed
  2. 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

artem888 avatar Jan 13 '22 12:01 artem888