yonaskolb / yonaskolb/XcodeGen

Link all frameworks in a specified directory

Open
#588 0 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'm looking into converting one of my projects to use XcodeGen.

It has a bunch of frameworks in a directory in located amongst the rest of the sources. Because of this change, the frameworks get added to an "Embed Frameworks" build phase. However, my project requires that these frameworks (only) get added to the "Link Binary with Libraries" build phase (as these are static frameworks that are being referenced in the target's sources).

I could specify each of these frameworks individually in the dependencies section of the target spec, and exclude them from the sources, but it would be nice if there were a way to just specify the directory and get XcodeGen to add all the frameworks in that directory.

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 reading the linked pull request and tracing how the target spec's sources and dependencies are converted into Xcode build phases. Done means a directory can be specified so all frameworks in it are added only to Link Binary with Libraries, not Embed Frameworks.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.