Skip to content

Instantly share code, notes, and snippets.

@shalyf
Created October 17, 2017 06:04
Show Gist options
  • Save shalyf/c1ca1f433f634b9ad1c9af22c046e879 to your computer and use it in GitHub Desktop.
Save shalyf/c1ca1f433f634b9ad1c9af22c046e879 to your computer and use it in GitHub Desktop.
reveal command with xcode breakpoint
expr (Class)NSClassFromString(@"IBARevealLoader") == nil ? (void *)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/RevealServer.framework/RevealServer", 0x2) : ((void*)0)
@shalyf
Copy link
Author

shalyf commented Oct 17, 2017

  1. Click "Add Symbolic Breakpoint"
  2. Symbol fill "UIApplicationMain"
  3. Click "Add Action", choose "Debugger Command", fill above code
  4. Check options "Automatically continue after evaluating actions"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment