yonaskolb / yonaskolb/XcodeGen
Different exit code when unable to find SettingPresets
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
The following log output does not clearly state what the underlying error is.
Furthermore since the exit code is still 0, it is very hard to find the error in a long running build script.
No "base" settings found
No "debug config" settings found
No "release config" settings found
No "iOS" settings found
Instead of the current behavior a clear error message should be output.
An example would be:
Unable to find SettingPresets in default location. Make sure that the directory share/xcodegen/SettingPresets exists.
And xcodegen should exit with an error code != 0.
xcodegen Version: 2.15.1
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 tracing the xcodegen CLI path that reports missing SettingPresets and the handling of its default location. Reproduce the missing-directory case, then verify that it emits a clear error naming the expected location and exits with a nonzero status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100