Contents

checksum

The checksum for the archive file that contains the referenced binary artifact.

Declaration

final var checksum: String?

Discussion

If you make a remote binary framework available as a Swift package, declare a remote, or URL-based, binary target in your package manifest with binaryTarget(name:url:checksum:). Always run swift package compute-checksum path/to/MyFramework.zip at the command line to make sure you create a correct SHA256 checksum.

For more information, see Distributing binary frameworks as Swift packages.

See Also

Creating a Binary Target