-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathPackage.swift
More file actions
48 lines (46 loc) · 1.33 KB
/
Package.swift
File metadata and controls
48 lines (46 loc) · 1.33 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "XMTPiOS",
platforms: [.iOS(.v14), .macOS(.v11)],
products: [
.library(
name: "XMTPiOS",
targets: ["XMTPiOS"]
),
.library(
name: "XMTPTestHelpers",
targets: ["XMTPTestHelpers"]
),
],
dependencies: [
.package(url: "https://github.com/bufbuild/connect-swift", exact: "1.2.0"),
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", "1.8.4" ..< "2.0.0"),
.package(url: "https://github.com/SimplyDanny/SwiftLintPlugins", from: "0.62.1"),
],
targets: [
.binaryTarget(
name: "LibXMTPSwiftFFI",
url: "https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.9.0-rc5.a05fda6/LibXMTPSwiftFFI.zip",
checksum: "4637d46afeb18c29f11487f8886d4c36d15e9416fbf9c59d4424f125d64e8c40"
),
.target(
name: "XMTPiOS",
dependencies: [
.product(name: "Connect", package: "connect-swift"),
"LibXMTPSwiftFFI",
.product(name: "CryptoSwift", package: "CryptoSwift"),
]
),
.target(
name: "XMTPTestHelpers",
dependencies: ["XMTPiOS"]
),
.testTarget(
name: "XMTPTests",
dependencies: ["XMTPiOS", "XMTPTestHelpers"]
),
]
)