yonaskolb / yonaskolb/XcodeGen
Cannot link a static library dependency through projectReferences
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Hello,
I have an XcodeProject (Original) and I am migrating it (Current)using Xcodegen. For targets in my project I have dependencies on astatic library target of other project which I have added through projectReferences.
When I generate current xcodeproject keeping the Original open, I can see the static library (which is a dependency, target of other project) getting linked in "Link library with Libraries" Phase in current project . But when I close Original xcodeproject and generate current xcodeproject I don't find it linked to any of the targets in my current project.
What could be the possible reason?
Thanks in Advance.
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
Reproduce generation with the Original Xcode project open and closed, focusing on the projectReferences configuration and the static-library target dependency. Compare the generated projects and verify that the dependency remains in the target's Link library with Libraries phase when the original project is closed.
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
- Needs clarification
- Newbie friendliness
- 35/100