1. Xcode Command line tools installation
If you are not an IOS or OS X developer, you can skip the process of installing Xcode and install Xcode command line tools directly.
1) Install Xcode from the APP store or Apple developer website.
2) immediately after that, install Xcode command line tools and run the following command in the terminal.
# 安装 Xcode command line tools$ xcode-select --install
- After running the command, follow the instructions and you will complete the Xcode command line tools installation.
2. Xcode command line tools commands
-
After the installation completes Xcode command line tools, you will be able to use the main commands directly in the terminal, such as: Make, GCC, Clang, Perl, SVN, git, size, strip, strings, Libtool, CPP and so on.
-
If you want to know how many commands the Xcode command line tools contains, you can go to the /library/developer/commandlinetools/usr/bin
view. The following is a list of commands.
arasasabisonbuildstringsc++c89c99ccclangclang++cmpdylibcodesign_allocatecpmaccppctagsctf_ Insertderezdsymutildwarfdumpdyldinfoflexflex++g++gatherheaderdocgccgcov Getfileinfogitgit-cvsservergit-receive-packgit-shellgit-upload-archivegit-upload-packgm4gnumake Gperfhdxml2manxmlheaderdoc2htmlindentinstall_name_ Toolldlexlibtoollipolldblorderm4makemergepefmigmkdepmvmacnasmndisasmnmnmeditotoolpagestuff ProjectInfo Ranlibrebaseredo_ Prebindingresmergerresolvelinksrezrezdetrezwackrpcgensegeditsetfilesizesplitforksstringsstripsvnsvnadminsvndumpfiltersvnl OOKSVNRDUMPSVNSERVESVNSYNCSVNVERSIONUNIFDEFUNIFDEFALLUNREZWACKUNWINDDUMPWHATXML2MANYACC
Ios-xcode command line tools