yonaskolb / yonaskolb/XcodeGen
XcodeGen doesn't error on bad keys
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
If in SPM you put in some bad project config, you'll get an error.
XcodeGen seems to accept valid YML.
For example I added the line:
thisshoulderror: nope
and Xcode gen was just happy to ignore it!
⚙️ Generating plists...
⚙️ Generating project...
⚙️ Writing project...
This approach is fundamentally flawed and should never be adopted in software development.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the shown thisshoulderror: nope entry in an XcodeGen project configuration and trace the project-config parsing or validation entry point. Done means an unknown YAML key is rejected with a clear error instead of allowing project generation to continue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift, yaml
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100