yonaskolb / yonaskolb/XcodeGen

Embed and CodeSign Options Don't Work for SDK Dependencies

Open
#905 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

Regardless of settings in my project.yml under dependencies:

targets:
  CairoSVG:
    dependencies:
    - sdk: "Dependencies/libpng/1.6.37/lib/libpng16.16.dylib"
      root: SOURCE_ROOT
      embed: true
      implicit: true
      codeSign: true
...
Screen Shot 2020-06-30 at 2 00 38 PM

If I added the dependencies in sources as well then they are embedded, however code signing doesn't work.

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

Reproduce the issue using the project.yml dependencies configuration shown, comparing SDK dependencies with the workaround of declaring them in sources. Trace how embed and codeSign are handled for SDK dependencies, then verify that both options work without duplicating the dependency in sources.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Bug
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.