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
- (NSString *)unicodeString:(NSString *)string { | |
NSMutableString *retString = [NSMutableString stringWithCapacity:0]; | |
for (int index = 0; index < [string length]; index++) { | |
[retString appendFormat:@"\\u%04x",[string characterAtIndex:index]]; | |
} | |
return retString; | |
} |
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
defaults write com.apple.finder AppleShowAllFiles -bool true |
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
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 0 |
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
# Using libtool, lipo, ar and otool | |
lipo -info input.a | |
lipo -extract_family arm64 -output output.a input.a | |
# output.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it) | |
# lipo output.a -thin arm64 -output output_arm64.a | |
ar -x output_arm64.a |
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
codesign -d --entitlements - Example.app |
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
codesign --verify Example.app |
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
codesign -vv -d Example.app |
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
codesign -f -s 'iPhone Developer: <Name> (<XXX>)' Example.app |
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
security find-identity -v -p codesigning |
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
find . -name "*.m" -or -name "*.mm" -or -name "*.h" -or -name "*.c" -or -name "*.cpp" | xargs wc -l | |
find . -name "*.m" -or -name "*.mm" -or -name "*.h" -or -name "*.c" -or -name "*.cpp" | xargs grep -v "^$" | wc -l |
NewerOlder