openid / openid/AppAuth-iOS

Add xcframework to releases

Open
#631 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

Is your feature request related to a problem? Please describe.
I would like to consume this library as a binary target using Swift Package Manager.
e.g.

.binaryTarget(
   name: "AppAuth",
   url: "https://github.com/openid/AppAuth-iOS/releases/download/x.x.x/AppAuth-iOS.xcframework.zip",
   checksum: "xxxxx"
)

Describe the solution you'd like
I would like for each release to include a compiled .xcframework.zip in the assets and the appropriate checksum in the release notes.

Describe alternatives you've considered
We currently use CocoaPods but would like to use SPM to remove the need for workspaces.
Unfortunately, we cannot use the simpler method of a git url and branch with SPM since our internal Artifactory does not support it. We can upload pre-distributed .zip files to our Artifactory, however.

Additional context
I've left out a bit of context here, but these are the general commands required to build the framework(s) along with the checksum for SPM.

xcodebuild archive ...
xcodebuild -create-xcframework ...
swift package compute-checksum <path-to-zip>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Start by locating the repository's release process and evaluate the stated xcodebuild archive, xcodebuild -create-xcframework, and swift package compute-checksum commands; done means every release includes the zipped xcframework and its checksum in the release notes.

Written by the indexing model from the issue text.

Assessment

Tech stack
objective-c, swift
Domain
build-system, mobile, release
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.