From 399bbc25e990a565bfc1a67dbbc4e195dd6a5e88 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Thu, 30 Jun 2022 17:32:27 +0300 Subject: [PATCH] chore: sdk-ffi apple - run the CI build script from the Xcode project and only for the active architecture --- .github/workflows/bindings_ci.yml | 3 -- .../xcschemes/MatrixRustSDK.xcscheme | 30 ++++++++------ bindings/apple/debug_build_xcframework.sh | 39 +++++++++++++------ 3 files changed, 47 insertions(+), 25 deletions(-) diff --git a/.github/workflows/bindings_ci.yml b/.github/workflows/bindings_ci.yml index 30fcefc11..1768109a7 100644 --- a/.github/workflows/bindings_ci.yml +++ b/.github/workflows/bindings_ci.yml @@ -161,9 +161,6 @@ jobs: # keep in sync with uniffi dependency in Cargo.toml's args: uniffi_bindgen --version ^0.18 - - name: Generate .xcframework - run: sh bindings/apple/debug_build_xcframework.sh ci - - name: Run XCTests run: | xcodebuild test \ diff --git a/bindings/apple/MatrixRustSDK.xcodeproj/xcshareddata/xcschemes/MatrixRustSDK.xcscheme b/bindings/apple/MatrixRustSDK.xcodeproj/xcshareddata/xcschemes/MatrixRustSDK.xcscheme index 6644a0efe..9d3179964 100644 --- a/bindings/apple/MatrixRustSDK.xcodeproj/xcshareddata/xcschemes/MatrixRustSDK.xcscheme +++ b/bindings/apple/MatrixRustSDK.xcodeproj/xcshareddata/xcschemes/MatrixRustSDK.xcscheme @@ -1,10 +1,28 @@ + version = "1.7"> + + + + + + + + + + - - - -