Эх сурвалжийг харах

fix(cli): use correct variable on script to build Rust iOS code (#6581)

Lucas Fernandes Nogueira 2 жил өмнө
parent
commit
6e3e4c22be

+ 6 - 0
.changes/fix-ios-template.md

@@ -0,0 +1,6 @@
+---
+"cli.rs": patch
+"cli.js": patch
+---
+
+Fixes the iOS project script to build the Rust library.

+ 1 - 0
tooling/cli/src/mobile/init.rs

@@ -159,6 +159,7 @@ pub fn exec(
     );
   }
 
+  map.insert("tauri-binary", binary.to_string_lossy());
   map.insert("tauri-binary-args", &build_args);
   map.insert("tauri-binary-args-str", build_args.join(" "));