We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e10fdb7 commit 60a5aeaCopy full SHA for 60a5aea
.changes/trunk-ios-dev.md
@@ -0,0 +1,6 @@
1
+---
2
+"tauri-cli": patch:enhance
3
+"@tauri-apps/cli": patch:enhance
4
5
+
6
+Set the `TRUNK_SERVE_ADDRESS` environment variable when running on iOS physical devices to support Trunk.
crates/tauri-cli/src/mobile/ios/dev.rs
@@ -344,6 +344,7 @@ fn use_network_address_for_dev_url(
344
345
if let Some(ip) = ip {
346
std::env::set_var("TAURI_DEV_HOST", ip.to_string());
347
+ std::env::set_var("TRUNK_SERVE_ADDRESS", ip.to_string());
348
if ip.is_ipv6() {
349
// in this case we can't ping the server for some reason
350
dev_options.no_dev_server_wait = true;
0 commit comments