-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathPackage.swift
More file actions
20 lines (20 loc) · 777 Bytes
/
Package.swift
File metadata and controls
20 lines (20 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// swift-tools-version:5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let checksum = "ab9ff4e640d238135de0671623c6abcb87b13f8e8cf8cd34aa30b9a28a6dcdec"
let version = "26.04.01"
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
let package = Package(
name: "MatrixRustSDK",
platforms: [
.iOS(.v16),
.macOS(.v12)
],
products: [
.library(name: "MatrixRustSDK", targets: ["MatrixRustSDK"]),
],
targets: [
.binaryTarget(name: "MatrixSDKFFI", url: url, checksum: checksum),
.target(name: "MatrixRustSDK", dependencies: [.target(name: "MatrixSDKFFI")])
]
)