yonaskolb / yonaskolb/XcodeGen
Add intent definition to multiple targets
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
I have a Home Screen widget that uses intents to make it configurable. But in order to allow these intents to do their job it needs to be added to both the widget target as the main application's target.
Is there a way to do this with xcodegen? Or is this functionality missing to add a file manually to the compile sources build phase of another target.
Keep up the good work!
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
No file or test is named. Start by tracing how XcodeGen represents targets and assigns files to their compile sources build phases, then compare the widget and application target behavior described here. Done means the same intent definition can be included in both targets and the generated Xcode project builds correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100