yonaskolb / yonaskolb/XcodeGen
Clang settings appears to be applied to the wrong configuration list in the project.pbxproj file
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Clang settings appear to be added to the wrong configuration list within the project.pbxproj file.
When trying to set CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED to YES in order to silence a warning, Xcodegen adds them to the PBXNativeTarget build configuration list while changing the setting within Xcode applies it within the PBXProject build configuration list.
Is there a way to make sure that this setting gets applied to the correct configuration list?
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 generated project.pbxproj output with CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED set to YES, then compare its PBXNativeTarget and PBXProject build configuration lists with the configuration Xcode creates. Done means XcodeGen places this setting in the PBXProject build configuration list and the generated project matches Xcode's behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100