打開你的工程,點擊目錄的工程文件,最頂端藍色的,然后選擇project下你的工程,還是藍色那項,然后build Settings,然后往下拉,在Apple LLVM 5.0 - Language - Objective C 里有一個選項,Objective-C Automatic Reference Counting 選擇NO,就可以了。
project ->
build Settings ->
Apple LLVM 5.0 - Language - Objective C ->
Objective-C Automatic Reference Counting