7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 1 | // swift-tools-version:5.7 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 2 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 3 | // A package manifest for local development. This file will be copied |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 4 | // into the root of the repo when generating an XCFramework. |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 5 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 6 | import PackageDescription |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 7 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 8 | let package = Package( |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 9 | name: "MatrixRustSDK", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 10 | platforms: [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 11 | .iOS(.v16), |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 12 | .macOS(.v12) |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 13 | ], |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 14 | products: [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 15 | .library(name: "MatrixRustSDK", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | type: .dynamic, |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | targets: ["MatrixRustSDK"]), |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | ], |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | targets: [ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | .binaryTarget(name: "MatrixSDKFFI", path: "bindings/apple/generated/MatrixSDKFFI.xcframework"), |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | .target(name: "MatrixRustSDK", |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | dependencies: [.target(name: "MatrixSDKFFI")], |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | path: "bindings/apple/generated/swift") |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | ] |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | ) |