yonaskolb / yonaskolb/XcodeGen

config files not working

Open
#1,208 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

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?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the config-files section in Docs/ProjectSpec.md and review issue #1152 for the intended EXCLUDED_SOURCE_FILE_NAMES use. Reproduce the shown Debug and Release configuration with the project specification, then verify that validation succeeds and the setting is present in the generated project.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift, yaml
Domain
build-system, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.