Skip to content

[bug] IOS Whitescreen #13356

@alexandre313412

Description

@alexandre313412

Describe the bug

Hi, I'm trying to run my app on my Mac for iOS, but I'm encountering a bug. On my iPhone, I see "error sending request for url". I tried the URL on Windows, Mac, and Android, and it works fine, but not on my iPhone (both Chrome and Safari).
When i put 0.0.0.0:1420 as devUrl, i have whitescreen

Reproduction

npm run tauri ios dev
npm run tauri ios build

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Mac OS 15.3.1 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.86.0 (05f9846f8 2025-03-31)
    ✔ cargo: 1.86.0 (adf9b6ad1 2025-02-28)
    ✔ rustup: 1.28.1 (f9edccde0 2025-03-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.19.0
    - npm: 10.2.3

[-] Packages
    - tauri :crab:: 2.5.1
    - tauri-build :crab:: 2.2.0
    - wry :crab:: 0.51.2
    - tao :crab:: 0.33.0
    - tauri-cli :crab:: 2.5.0
    - @tauri-apps/api : 2.5.0
    - @tauri-apps/cli : 2.5.0

[-] Plugins
    - tauri-plugin-os :crab:: 2.2.1
    - @tauri-apps/plugin-os : 2.2.1
    - tauri-plugin-fs :crab:: 2.2.1
    - @tauri-apps/plugin-fs : 2.2.1
    - tauri-plugin-opener :crab:: 2.2.6
    - @tauri-apps/plugin-opener : 2.2.6
    - tauri-plugin-store :crab:: 2.2.0
    - @tauri-apps/plugin-store : 2.2.0
    - tauri-plugin-http :crab:: 2.4.3
    - @tauri-apps/plugin-http : 2.4.3
    - tauri-plugin-barcode-scanner :crab:: 2.2.0
    - @tauri-apps/plugin-barcode-scanner : 2.2.0

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; media-src 'self' asset: https://asset.localhost;
    - frontendDist: ../dist
    - devUrl: http://192.168.1.181:1420/
    - framework: React
    - bundler: Vite

[-] iOS
    - Developer Teams: XX (ID: XX), XX (ID: XX)

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions