Batch adding “-fno-objc-arc” flag to (multiple) source files

前端 未结 3 1789
南旧
南旧 2020-12-10 13:56

After converting an Xcode project to ARC (Automatic Reference Counting), I need to disable ARC for some of my source files (mainly third-party code).

I know I need t

3条回答
  •  旧巷少年郎
    2020-12-10 14:30

    I need to set files that are not supposed to support ARC (mainly 3rd-party code).

    In addition to managing the flags, you could simply create a static library for these sources, then link.

提交回复
热议问题