yonaskolb / yonaskolb/XcodeGen
CoverageTargets does not work with local package as Testable Target Reference
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
I defined the package:
packages:
MyPackage:
path: ../MyPackage
And used it in:
test:
config: Release_Debug
language: en
region: US
gatherCoverageData: true
coverageTargets:
- MyApp
- MyPackage/MyPackage
Xcodegen complained that Scheme "Release (Debug)" has invalid project reference "MyPackage", also I don't know how to define the target as local package vs project reference, from here the local package and project reference are using the same syntax
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 with the Testable Target Reference section linked in the issue and reproduce the shown package, test configuration, and XcodeGen error. Trace how CoverageTargets resolves a local package versus a project reference; done means the configuration generates a valid scheme with MyPackage/MyPackage as a coverage target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100