Skip to content

Commit

Permalink
fix(cli): use correct variable on script to build Rust iOS code (#6581)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Mar 29, 2023
1 parent 332b3fc commit 6e3e4c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/fix-ios-template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Fixes the iOS project script to build the Rust library.
1 change: 1 addition & 0 deletions tooling/cli/src/mobile/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(" "));

Expand Down

0 comments on commit 6e3e4c2

Please sign in to comment.