目前本人知道的就两种方式:

1.target---------build Settings -----------Apple LLVM compiler 4.1 -language-------objective-C Automatic

reference Counting ------设置为FALSE

2.target -----build Phases ---------compile sources -------在不需要的源文件后面(compiler flag

)中加 -fno-objc-arc