yonaskolb / yonaskolb/XcodeGen
Issues with SettingsGroups
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Hello, not sure if it's me misunderstanding how they work, but I'm having issues with getting settingsGroups to work.
I place something akin to this
name: TestProj
settingsGroups:
watchOS:
base:
TARGETED_DEVICE_FAMILY: 4
WATCHOS_DEPLOYMENT_TARGET: 4.0
iOS:
base:
IPHONEOS_DEPLOYMENT_TARGET: 11.0
options:
createIntermediateGroups: true
defaultConfig: Debug
groupSortPosition: bottom
transitivelyLinkDependencies: false
targets:
appLib:
platform: [iOS, watchOS]
platformSuffix: "${platform}"
productName: "appLib${platform}"
settings:
groups:
- "${project}"
configs:
ENABLE_BITCODE: YES
sources:
- path: appLib/Test.swift
- path: appLib/Test2.swift
type: framework
But on running xcodegen, I always get - Invalid settings group "${project}"
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
Use the supplied YAML as the reproduction case and run xcodegen to confirm the invalid settings group error. Trace how settingsGroups and the ${project} group reference are validated, then verify the expected behavior or syntax against the resulting generated project and error message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100