yonaskolb / yonaskolb/XcodeGen
Local swift packages don't link correctly if project spec and local packages are not at the project root
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
I noticed that when the project spec is in a different folder other than the project root, the local packages paths are not linked correctly.
I have created a repository to demonstrate the issue: https://github.com/amarantedaniel/XcodeGenPackages
It has a config file at the project root and another one inside a folder
when generating the project with the root spec it links the packages correctly.
when generating the project specifying the spec that's inside the folder the packages that are inside folders are not linked correctly.
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
Use the linked XcodeGenPackages repository to compare generation with the project-root config and with the config inside the folder. Start by tracing how local package paths are resolved relative to each spec, then verify that packages inside folders are linked correctly in both generated projects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100