3.3.2 Dead Code Stripping > YES;(YES,消除無效代碼)ui
For statically linked executables, dead-code stripping is the process of removing unreferenced code from the executable file. If the code is unreferenced, it must not be used and therefore is not needed in the executable file. Removing dead code reduces the size of your executable and can help reduce paging. spa
To enable dead-code stripping in Xcode, in the Linking group of Build Settings, set the Dead Code Stripping option to Yes.code
3.3.3 Link With Standard Libraries > YES;ip
默認是YES,編譯器在連接時會自動使用標準庫的連接器;rem
看網上好多資料都說要改爲NO,可是看官方的文檔,若是設置爲NO,須要配置 Other Linker Flags 來指定連接器。文檔