yonaskolb / yonaskolb/XcodeGen
Reference Local SPM Targets from XcodeGen
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
My question is basically #1050, but about regular targets rather than test targets. I have:
MyProject.xcodeproj, which is generated by XcodeGenMyAppapp target, which depends onMyPackageTargetMyPackagelocal SPM packageMyPackageTargettargetMyPackageTeststest target
The above issue #1050, as I understand it, has a PR #1074 that will allow me to add a MyPackageTests test target to MyProject.xcodeproj. I am wondering if there is already a way to have a scheme to build MyPackageTarget as well that I'm missing.
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
Start by reading issue #1050 and PR #1074 to understand the existing support for local package test targets. Then determine how regular local package targets could be represented in XcodeGen's generated scheme; done means a generated project can build MyPackageTarget through a scheme.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100