-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPackage.swift
More file actions
34 lines (32 loc) · 985 Bytes
/
Package.swift
File metadata and controls
34 lines (32 loc) · 985 Bytes
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
26
27
28
29
30
31
32
33
34
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SQLCipher",
platforms: [
.iOS(.v12),
.macOS(.v10_13),
.macCatalyst(.v13),
.watchOS(.v4),
.tvOS(.v12),
.visionOS(.v1)
],
products: [
.library(
name: "SQLCipher",
targets: ["SQLCipher"]),
],
targets: [
.binaryTarget(name: "SQLCipher",
url: "https://github.com/sqlcipher/SQLCipher.swift/releases/download/4.14.0/SQLCipher.xcframework.zip",
checksum: "10b468e8664d7f272b6447bda5adb5ac16fb0040e9a25f4de798eb79cdb30e5f"
),
.testTarget(
name: "SQLCipherTests",
dependencies: ["SQLCipher"],
cSettings: [
.define("SQLITE_HAS_CODEC", to: nil)
]
)
]
)