yonaskolb / yonaskolb/XcodeGen

All of Embed Fameworks will be removed if try to remove one of them

Open
#881 1 comment 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 remove one of embed frameworks, but the whole embed frameworks will be removed, if there are two targets, and they have some same embed frameworks, I have create one sample project to reproduce it, https://github.com/zhaodanqiang/xcodegen-sample

Ex, If I remove enternalTarget2, the whole embed frameworks will be gone.

Screenshot 2020-06-08 at 5 08 53 PM Screenshot 2020-06-08 at 5 09 01 PM

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 with the linked xcodegen-sample project and reproduce the case with two targets sharing embedded frameworks. Compare the generated Xcode project before and after removing one target, then trace the XcodeGen generation path responsible for embedded frameworks. Done means removing one target preserves frameworks still required by the remaining target.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.