- Xcode 7.3 (7D175), OS X 10.11.4 (15E65)
- Project has a variable called "MY_CONFIGS" set to "QWER"
- Target use a xcconfig named "1.xcconfig"
- "1.xcconfig" include "base.xcconfig"
- "base.xcconfig"'s "MY_CONFIGS" is
$(inherited) "ASDF" "ZXCV"
$ xcodebuild -showBuildSettings > withoutXCConfigArgumentResult.xcconfig
$ xcodebuild -showBuildSettings -xcconfig ./TestXcodebuildXCConfig/1.xcconfig > withXCConfigArgumentResult.xcconfig
- diff
- "MY_CONFIGS" value is wrong
-xcconfig filename
Load the build settings defined in filename when building all targets. These settings will override all other settings, including settings passed individually on the command line.
fire issue if you confuse