xcodemacosshared-librariesautomatic-ref-counting

How to disable ARC for a linked Framework in xCode?


I am aware of the accepted and useful solution for How can I disable ARC for a single file in a project?. However, there does NOT seem to be an easy, or even obvious way to do the same for a linked Framework.

linked framework omit ARC

How can you convert / compile a binary under ARC, while omitting a linked Framework, via -fno-objc-arc, or otherwise?


Solution

  • Surely the framework has already been compiled so there is no need for such an option?

    AFAIK arc means code to retain and release etc is added at compile time