It is easy to turn off ARC in XCode using the Build Phases tricks, but is it possible to specify using XCodeConfig?
Seems to me that using XCodeConfig approach (if possible) is more flexible.
ARC is implicitly off.
You could add this to your xcconfig:
CLANG_ENABLE_OBJC_ARC = NO
but you would still have the problem where the project/target/file local build settings override that behavior. You should just be able to grep your Xcode projects for CLANG_ENABLE_OBJC_ARC and objc-arc to find where it is actually enabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With