yonaskolb / yonaskolb/XcodeGen

Add swift package product dependency to build phases only

Open
#911 2 comments 0 reactions 0 assignees View on GitHub

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:

image

Result:

image

This is related: https://github.com/yonaskolb/XcodeGen/issues/868

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.