You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
784 B
Swift
24 lines
784 B
Swift
// swift-tools-version:5.5
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let checksum = "2421e6f1657419444b7f36f18ceddf82dae1eac4c2cece9fc10b726d05b1c921"
|
|
let version = "1.0.74-alpha"
|
|
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
|
|
|
|
let package = Package(
|
|
name: "MatrixRustSDK",
|
|
platforms: [
|
|
.iOS(.v15),
|
|
.macOS(.v12)
|
|
],
|
|
products: [
|
|
.library(name: "MatrixRustSDK", targets: ["MatrixRustSDK"]),
|
|
],
|
|
targets: [
|
|
.binaryTarget(name: "MatrixSDKFFI", url: url, checksum: checksum),
|
|
.target(name: "MatrixRustSDK", dependencies: [.target(name: "MatrixSDKFFI")])
|
|
]
|
|
)
|