// swift-tools-version:5.5 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription let checksum = "18fe309d16894f6536339f310d09df9f3b721c938354ecc948ee75f3b8d4becd" let version = "v1.1.20" 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")]) ] )