Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Added checksum computation #9

Merged
merged 3 commits into from
Jun 23, 2020
Merged

Added checksum computation #9

merged 3 commits into from
Jun 23, 2020

Conversation

bok-
Copy link
Contributor

@bok- bok- commented Jun 23, 2020

This PR adds support for calculating the SHA256 checksum needed to use a framework in a Swift 5.3 Binary Target.

  • We now track the release/5.3 branch of SwiftPM
  • The SHA256 checksum is calculated using the same code as swift package compute-checksum
  • The checksum is calculated only when using --zip
  • The checksum is placed alongside the zip file. eg: MyFramework.zip and MyFramework.sha256.
  • This change supports both Xcode 11 (tested on 11.5 only) and Xcode 12
  • Closes #8

@bok- bok- added enhancement New feature or request minor A minor change according to semver labels Jun 23, 2020
@bok- bok- self-assigned this Jun 23, 2020
@bok- bok- merged commit f344957 into master Jun 23, 2020
@bok- bok- deleted the feature/compute-checksum branch June 23, 2020 09:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request minor A minor change according to semver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for checksum calculations if Xcode 12 is installed
1 participant