diff --git a/.github/workflows/bindings_ci.yml b/.github/workflows/bindings_ci.yml index 1768109a7..0798ef17c 100644 --- a/.github/workflows/bindings_ci.yml +++ b/.github/workflows/bindings_ci.yml @@ -161,6 +161,9 @@ 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 x86_64 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 9d3179964..fe527d24f 100644 --- a/bindings/apple/MatrixRustSDK.xcodeproj/xcshareddata/xcschemes/MatrixRustSDK.xcscheme +++ b/bindings/apple/MatrixRustSDK.xcodeproj/xcshareddata/xcschemes/MatrixRustSDK.xcscheme @@ -10,7 +10,7 @@ ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction"> + scriptText = "#PATH=~/.cargo/bin:${PATH} echo $ARCHS #sh $PROJECT_DIR/debug_build_xcframework.sh "$ARCHS" CI ">