clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc'
问题 I do have Objective-C Automatic Reference Counting set to YES , but I have Objective-C Garbage Collection set to Unsupported So I don't see how -fobjc-gc could be getting set. Is there something else that also sets it that I haven't noticed? I've tried a clean build, so it's not something sticking around. 回答1: I found the answer, indirectly, thanks to this question. It turns out, that to get rid of garbage collection, I need to BOTH turn off garbage collection in the compiler settings when I