arc in SDK4.0, because the integration with the previous project, there will be a mix of arc and non-arc files.
Of course, in both cases:
1. No arc was used for his old project, but the third-party library was introduced using arc.
2. Your new project uses arc, but the introduction of the code does not use arc.
In both cases, the direct certainty is that the pass is only compiled. It can be solved by upgrading old projects and using arc, but this approach can sometimes be cumbersome.
An easy way to do this is to specify whether a single file is compiled with arc.
The method is to find the files that need special handling in the compile source inside the build phase, plus the compile option (Compiler Flags), which differs in detail for both cases.
1. For the first case, the source file for the arc is used, and the-FOBJC-ARC option is added.
2. For another situation, join the-FNO-OBJC-ARC
One small step per day.