mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-02-13 09:03:44 -05:00
26 lines
729 B
Swift
26 lines
729 B
Swift
// swift-tools-version:5.6
|
|
|
|
// A package manifest for local development. This file will be copied
|
|
// into the root of the repo when generating an XCFramework.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "MatrixRustSDK",
|
|
platforms: [
|
|
.iOS(.v15),
|
|
.macOS(.v12)
|
|
],
|
|
products: [
|
|
.library(name: "MatrixRustSDK",
|
|
type: .dynamic,
|
|
targets: ["MatrixRustSDK"]),
|
|
],
|
|
targets: [
|
|
.binaryTarget(name: "MatrixSDKFFI", path: "bindings/apple/generated/MatrixSDKFFI.xcframework"),
|
|
.target(name: "MatrixRustSDK",
|
|
dependencies: [.target(name: "MatrixSDKFFI")],
|
|
path: "bindings/apple/generated/swift")
|
|
]
|
|
)
|