Apple PrefPane example fails to build with clang error objecting to both -fobjc-arc and -fobjc-gc
问题 I'm trying to build a preference pane as a part of learning OS X development. After downloading Apple's preference pane example code and trying to build the project I get the following error: clang: error: cannot specify both '-fobjc-arc' and '-fobjc-gc' Turning off garbage collection in Build Settings allows the project to build properly, but once the preference pane example is installed on the local machine it won't start saying, "You can’t open PrefsPane preferences because it doesn’t work