Skip to content

Commit 6e3e4c2

Browse files
authored
fix(cli): use correct variable on script to build Rust iOS code (#6581)
1 parent 332b3fc commit 6e3e4c2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/fix-ios-template.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cli.rs": patch
3+
"cli.js": patch
4+
---
5+
6+
Fixes the iOS project script to build the Rust library.

tooling/cli/src/mobile/init.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ pub fn exec(
159159
);
160160
}
161161

162+
map.insert("tauri-binary", binary.to_string_lossy());
162163
map.insert("tauri-binary-args", &build_args);
163164
map.insert("tauri-binary-args-str", build_args.join(" "));
164165

0 commit comments

Comments
 (0)