Skip to content

Instantly share code, notes, and snippets.

@behdaad
Created March 22, 2019 21:19
Show Gist options
  • Save behdaad/3b0a895fd24a6fccf48d7766fcda2b5c to your computer and use it in GitHub Desktop.
Save behdaad/3b0a895fd24a6fccf48d7766fcda2b5c to your computer and use it in GitHub Desktop.
Use Xcode Instruments for iOS apps from App Store, without jailbreak
  1. Turn off SIP so you can debug Instruments.app
  2. lldb -n Instruments
  3. put a breakpoint on - [XRRemoteDevice launchProcess:suspended:error:]
  4. select target device and apps, perform the task that you are interested in
  5. when the breakpoint is hit, reg write rcx 0 (override 3rd argument to false)
  6. continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment