From ca0abb7bd86ad8c2cb851f13c90b8e7d784e616f Mon Sep 17 00:00:00 2001 From: CodeDoctorDE Date: Wed, 5 Feb 2025 22:51:41 +0100 Subject: [PATCH] Try to fix apple build --- app/rust_builder/ios/rust_lib_setonix_plugin.podspec | 2 +- app/rust_builder/macos/rust_lib_setonix_plugin.podspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/rust_builder/ios/rust_lib_setonix_plugin.podspec b/app/rust_builder/ios/rust_lib_setonix_plugin.podspec index b0be6b9..39c6b67 100644 --- a/app/rust_builder/ios/rust_lib_setonix_plugin.podspec +++ b/app/rust_builder/ios/rust_lib_setonix_plugin.podspec @@ -29,7 +29,7 @@ A new Flutter FFI plugin project. s.script_phase = { :name => 'Build Rust library', # First argument is relative path to the `rust` folder, second is name of rust library - :script => 'sh "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../../../plugin/rust rust_lib_setonix_plugin', + :script => 'sh "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../../../plugin/rust setonix_plugin', :execution_position => :before_compile, :input_files => ['${BUILT_PRODUCTS_DIR}/cargokit_phony'], # Let XCode know that the static library referenced in -force_load below is diff --git a/app/rust_builder/macos/rust_lib_setonix_plugin.podspec b/app/rust_builder/macos/rust_lib_setonix_plugin.podspec index 66d681c..fd58f9d 100644 --- a/app/rust_builder/macos/rust_lib_setonix_plugin.podspec +++ b/app/rust_builder/macos/rust_lib_setonix_plugin.podspec @@ -28,7 +28,7 @@ A new Flutter FFI plugin project. s.script_phase = { :name => 'Build Rust library', # First argument is relative path to the `rust` folder, second is name of rust library - :script => 'sh "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../../../plugin/rust rust_lib_setonix_plugin', + :script => 'sh "$PODS_TARGET_SRCROOT/../cargokit/build_pod.sh" ../../../plugin/rust setonix_plugin', :execution_position => :before_compile, :input_files => ['${BUILT_PRODUCTS_DIR}/cargokit_phony'], # Let XCode know that the static library referenced in -force_load below is