This file contains 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
find . \( -name '*.h' -o -name '*.m' -o -name '*.swift' -o -name '*.pch' \) -print0 | xargs -0 sed -i '' -e '//d' | |
find . \( -name '*.h' -o -name '*.m' -o -name '*.swift' -o -name '*.pch' \) -print0 | xargs -0 sed -i '' -e '//d' |
This file contains 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
Arguments passed on Launch: | |
-NSViewShowAlignmentRects YES | |
-NSShowAllViews YES | |
Debuging: | |
-[NSView _subtreeDescription] | |
-[NSView constraintsAffectingLayout:forOrientation:] | |
-[NSWindow visualizeConstraints:] |
This file contains 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
codesign --display --entitlements - The.app/ | |
codesign --display --verbose=4 The.app/ |
This file contains 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
sudo /usr/libexec/locate.updatedb |
This file contains 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
atos -o PathToAppBinary -arch x86_64 -l 0x10a3e2000 |
This file contains 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
// Helpful for when you're trying to test what your app does when it faults. | |
// You could also just divide by zero, but that'll only work on Intel. PPC returns 0. | |
#define CRASH_CODE 1 | |
#if CRASH_CODE | |
NSLog( @"forcing crash" ); | |
kill( getpid(), SIGABRT ); | |
#endif |