How to use ARC compatible files in non-ARC compatible projects

My project has dependent libraries that do not compile under the LLVM compiler, so my project is not compatible with ARC.

How to include other third-party libraries and ARC-compatible source files in my project without ARC.

Thanks in advance.

+5
source share
2 answers

If you are not using LLVM, your main project will not be able to use ARC as a function of LLVM 3.0.

If I were you, I would compile your main project / target / application under LLVM and include your old external dependencies as dependencies of the static library. Once the static libraries are compiled, the fact that they are ARC or not ARC does not matter.

Xcode, Xcode, . . .

Xcode, .

+2

. : -fobjc-arc

+8

All Articles