https://docs.sardine.ai/changelogs/ios
- Download the desired release from Sardine
- Unzip the download and locate the
MobileIntelligence.xcframework
file - Compress the file so that you end up with
MobileIntelligence.xcframework.zip
(right-click file and choose "Compress") - From Terminal, run the command
swift package compute-checksum MobileIntelligence.xcframework.zip
(Can specify full path if running from different directory) - Make note of the checksum that is printed from the previous command
- Navigate to the Package.swift file from the repo on Github
- Click "Edit this file" (pencil icon) to edit the file directly in Github
- Update the
url
to reference the desired version number - Update the
checksum
to the value printed from the compute-checksum command - Commit changes
- Navigate to Releases on the Github repo
- Click "Draft a new release"
- Click "Choose tag" and enter
v1.2.3
(using desired version number) and click "Create new tag on publish" - Enter the same
v1.2.3
version number as the title of the release - Enter
1.2.3
as the description of the release - Drag the
MobileIntelligence.xcframework.zip
you compressed earlier into the "Attach binaries..." section near the bottom - Click "Publish release"
You did it! You can now reference the new version from your project without needing to authenticate to Github. Cheers! 🍻