yonaskolb / yonaskolb/XcodeGen
Support for SPM artifact bundles
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
Hello! Thank you for this project.
Sort description of feature request
I would like to use XcodeGen from a swift plugin. To be able to use in a swift plugin it is needed that that the published artifact is a artifact bundle. When XcodeGen is published as a artifact bundle you can reference XcodeGen the following way in your Package.swift file:
.binaryTarget(
name: "XcodeGen",
url: "https://github.com/yonaskolb/XcodeGen/releases/download/2.35.0/xcodegen.artifactbundle.zip",
checksum: "<checksum>"
)
From there you are able to reference it from a swift package plugin and automate generating a Xcode project.
How to implement it
You can find in the following blog post how to support implement the artifact bundle.
Other swift tools already do support this. A couple of example pr's:
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 Package.swift binaryTarget example and review the linked artifact-bundle guidance plus the SwiftLint and SwiftGen example PRs. Done means XcodeGen is published as an artifact bundle that can be referenced from a Swift package plugin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100