You must ensure that:
- The compiler is configured for the Apple LLVM 4.x compiler
- Project property:
CLANG_ENABLE_OBJC_ARC enabled (change it to YES) - You have cleaned your project (
Product -> clean )
Following the steps above, you will make sure that you switched to ARC using the LLVM / clang compiler, if none of the above issues solve the problem, you can try to disable the precompiled prefix by unchecking the Precompile Prefix Header ( GCC_PRECOMPILE_PREFIX_HEADER ) in the XCode Build phase. Using PCH is optional because it is used to increase compilation time.
source share