XcodeGen
XcodeGen copied to clipboard
config files not working
I am trying to get config files to work. I want to use EXCLUDED_SOURCE_FILE_NAMES
as mentioned in this issue. For some reason, no matter what I do, it doesn't work. If I follow the docs by doing this
App:
configFiles:
Debug: App/debug.xcconfig
Release: App/release.xcconfig
I get an error
2 Spec validations errors:
- Config file has invalid config "Release"
- Config file has invalid config "Debug"
And if I put the configFiles anywhere else in the project spec, it just ignores them and the EXCLUDED_SOURCE_FILE_NAMES
setting is not there. Any suggestions?
Firstly, define configs that will be used in the project at the project level.
name: <ProjectName>
configs:
Debug: debug
Release: debug