diff --git a/rust_to_flutter.sh b/rust_to_flutter.sh index aa03ea5..def766d 100644 --- a/rust_to_flutter.sh +++ b/rust_to_flutter.sh @@ -114,7 +114,7 @@ if [ "$INCLUDE_IOS_TARGETS" = true ]; then mkdir -p "$IOS_DEST_DIR" for target in "${IOS_TARGETS[@]}"; do RELEASE_DIR="target/$target/release" - LIB_FILE=$(find "$RELEASE_DIR" -maxdepth 1 -name "lib*.a" | head -n 1) + LIB_FILE=$(find "$RELEASE_DIR" -maxdepth 1 -name "lib*.dylib" | head -n 1) if [ -n "$LIB_FILE" ]; then cp "$LIB_FILE" "$IOS_DEST_DIR/" echo "Copied $target library to $IOS_DEST_DIR"