Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Cannot start iOS simulator without external network #12351

Open
travikk opened this issue Jan 11, 2025 · 0 comments
Open

[bug] Cannot start iOS simulator without external network #12351

travikk opened this issue Jan 11, 2025 · 0 comments
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@travikk
Copy link

travikk commented Jan 11, 2025

Describe the bug

Hey,

When trying to start iOS simulator with RUST_BACKTRACE=full. bun run tauri ios dev --host I am unable to do so and tauri exits with the following stacktrace:

No external IP detected.
stack backtrace:
   0:        0x11b54c5bc - _napi_register_module_v1
   1:        0x11b179d84 - _bz_internal_error
   2:        0x11b51cdf0 - _napi_register_module_v1
   3:        0x11b54e91c - _napi_register_module_v1
   4:        0x11b54f044 - _napi_register_module_v1
   5:        0x11b54e9bc - _napi_register_module_v1
   6:        0x11b54e954 - _napi_register_module_v1
   7:        0x11b54e948 - _napi_register_module_v1
   8:        0x11b94cecc - _napi_register_module_v1
   9:        0x11b69945c - _napi_register_module_v1
  10:        0x11b6985d0 - _napi_register_module_v1
  11:        0x11b9687e0 - _napi_register_module_v1
  12:        0x11b96c4bc - _napi_register_module_v1
  13:        0x11b72d1b8 - _napi_register_module_v1
  14:        0x11b748914 - _napi_register_module_v1
  15:        0x11b73fbf4 - _napi_register_module_v1
  16:        0x11b0b65ac - <unknown>
  17:        0x11b0bfdfc - <unknown>
  18:        0x11b551a6c - _napi_register_module_v1
  19:        0x189f482e4 - __pthread_deallocate

This only happens when I'm entirely off-the-grid disconnected from WiFi and Ethernet. Most of the time that's fine, but occasionally my workflow requires me to work offline and in those cases I am unable to start the simulator.

FWIW, bun run tauri dev works fine.

Reproduction

No response

Expected behavior

I am able to work offline with the simulator.

Full tauri info output

$ tauri info

[✔] Environment
    - OS: Mac OS 15.2.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
    ✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 22.11.0
    - npm: 10.9.0
    - bun: 1.1.34

[-] Packages
    - tauri 🦀: 2.2.1
    - tauri-build 🦀: 2.0.5
    - wry 🦀: 0.48.0
    - tao 🦀: 0.31.1
    - @tauri-apps/api : 2.2.0
    - @tauri-apps/cli : 2.2.3

[-] Plugins
    - tauri-plugin-http 🦀: 2.2.0
    - @tauri-apps/plugin-http : 2.2.0
    - tauri-plugin-shell 🦀: 2.2.0
    - @tauri-apps/plugin-shell : 2.2.0
    - tauri-plugin-fs 🦀: 2.2.0
    - @tauri-apps/plugin-fs : not installed!

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite

[-] iOS
    - Developer Teams: XXX (ID: XXX)

Stack trace

No response

Additional context

No response

@travikk travikk added status: needs triage This issue needs to triage, applied to new issues type: bug labels Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

No branches or pull requests

1 participant