objdump -h a.o
objdump -d a.o
objdump -r a.o
objdump -t a.o
gcc -c a.c
gcc -fPIC -shared -o libdemo.dylib lib.c
export ALL_PROXY=socks5://127.0.0.1:1086
otool -tv clang++
- pod spec create NAME
- git tag [tagname]
- git tag -d [tagname] (remove local tag)
- git push --delete origin [tagname] (remove remote tag)
- git remote add origin [git URL]
- git push --tags
- pod repo add [privateSpecsName] [PodSpecs Git URL]
pod lib lint --verbose (local)
pod spec lint --verbose --allow-warnings (local/remote)
pod trunk push NAME.podspec
pod repo push [privateSpecsName] NAME.podspec --allow-warnings
prepare three files: symbolicatecrash, .crash, .dSYM.
- cd /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework/Versions/A/Resources
- export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"
- ./symbolicatecrash NAME.crash NAME.app.dSYM > result.crash
git checkout origin/master -- FILENAME
git rebase --interactive [commit-hash]
git push <remote_name> --delete <branch_name>
- The & symbol instructs commands to run in a background process and immediately returns to the command line for additional commands.