forked from cossacklabs/themis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
25 lines (22 loc) · 1017 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "themis",
products: [
.library(
name: "themis",
targets: ["themis"]),
],
// OpenSSL XCF is statically linked to Themis XCF, so no need to have it as a dependency
dependencies: [],
targets: [
.binaryTarget(name: "themis",
// update version in URL path
url: "https://github.com/cossacklabs/themis/releases/download/0.13.12/themis.xcframework.zip",
// The scripts/create_xcframework.sh calculates the checksum when generating the XCF.
// Alternatively, run from package directory:
// swift package compute-checksum build/xcf_output/themis.xcframework.zip
checksum: "c74f65d4918884220efe99c3195001fa8aabc8030ad85f8ef30d2bfed11065a3"),
]
)