yonaskolb / yonaskolb/XcodeGen
Add swift package product dependency to build phases only
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
I am trying to add a swift package product as a dependency in the "build phases" tab, I don't want this to be linked to the app binary, I only need it to run a script in the build phases.
I want to replicate this in the UI:

Result:

This is related: https://github.com/yonaskolb/XcodeGen/issues/868
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 reviewing the related XcodeGen issue #868 and tracing how XcodeGen represents and generates build phases. Reproduce the requested Swift package product setup from the screenshots, then verify that the product appears in Build Phases for the script without being linked into the app binary.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100