Created
April 19, 2016 04:27
-
-
Save Ashton-W/925d6ac21c9f86d88e4dc44c57faa55a to your computer and use it in GitHub Desktop.
LLDB sim_location command (lldbinit)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
command alias sim_location expr (void)NSLog(@"Printing Simulator App Paths:\n\nBundle:\n%@\n\nDocuments:\n%@\n\n", [[NSBundle mainBundle] resourcePath], [[[[NSFileManager defaultManager] URLsForDirectory:NSDocumentDirectory inDomains:NSUserDomainMask] lastObject] resourceSpecifier]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A better version of this exists in Chisel https://github.com/facebook/chisel
pdocspath
, I've opened a pull request to addpbundlepath
too.