Skip to content

Commit 1358c9c

Browse files
committed
Update to the latest Rust SDK version (c8c793da9868f8b04a0efa97f444872a28fb46cf).
- Add timeline limit and room membership.
1 parent 3dbb153 commit 1358c9c

File tree

3 files changed

+197
-105
lines changed

3 files changed

+197
-105
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let checksum = "058dd2c6f0fc7b667e2f2d9470f6db79bbd2388c0a1c17e7e6a42c40ef4d2ca4"
7-
let version = "v1.0.12-alpha"
6+
let checksum = "25a9abe1058d436099f480ed626e7d412bf2586ed918b4d7f20efe3072dadba0"
7+
let version = "v1.0.13-alpha"
88
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
99

1010
let useLocalBinary = false

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Whenever a new release of the underlying components is available, we need to tag
88
To do so we need to:
99
* running the `.xcframework` build script from `matrix-rust-sdk/apple`
1010
* copy the generated `.swift` files to this repository under `Sources/MatrixRustComponentsSwift`
11+
* update the tag version and checksum inside `Package.swift`
1112
* create a new tag and upload the zipped version of the `.xcframework` to it's artefacts section
12-
* update the tag version inside `Package.swift`
1313

1414
## Testing locally
1515

@@ -23,8 +23,12 @@ To build the package you will need the following installed:
2323
3. nightly toolchain and simulator targets for your desired platform. See the [release script](https://github.com/matrix-org/matrix-rust-sdk/blob/main/bindings/apple/build_xcframework.sh) for all possible options.
2424
```
2525
rustup toolchain install nightly
26+
rustup default nightly
27+
rustup target add aarch64-apple-ios --toolchain nightly
28+
rustup target add aarch64-apple-darwin --toolchain nightly
2629
rustup target add aarch64-apple-ios-sim --toolchain nightly
2730
rustup target add x86_64-apple-ios --toolchain nightly
31+
rustup target add x86_64-apple-darwin --toolchain nightly
2832
```
2933
4. matrix-rust-sdk cloned next to this repo `git clone https://github.com/matrix-org/matrix-rust-sdk`
3034
5. When running the `debug_build_xcframework.sh` script, enable the `useLocalBinary` flag in `Package.swift`.

0 commit comments

Comments
 (0)