Skip to content

[bug] Initiating an Example Project with IOS Fails with "Failed to run IOS App" #15526

Description

@Genei180

Describe the bug

Fails to deploy App to IOS via npm run tauri ios dev.
When the Debugger wants to Attach the App Fails with "Application has not been launched".

Reproduction

npm create tauri-app@latest

Select the Following Options:
✔ Project name · tauri-app
✔ Identifier · com.vale.tauri-app
✔ Choose which language to use for your frontend · TypeScript / JavaScript - (pnpm, yarn, npm, deno, bun)
✔ Choose your package manager · npm
✔ Choose your UI template · Svelte - (https://svelte.dev/)
✔ Choose your UI flavor · TypeScript

npm run tauri ios init

npm run tauri ios dev

Expected behavior

The IOS App Builds, Deploys, Launches and can be debugged.

Full tauri info output

> tauri-app@0.1.0 tauri
> tauri info


[✔] Environment
    - OS: Mac OS 15.6.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ Xcode: 26.3
    ✔ rustc: 1.96.0 (ac68faa20 2026-05-25)
    ✔ cargo: 1.96.0 (30a34c682 2026-05-25)
    ✔ rustup: 1.29.0 (28d1352db 2026-03-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 26.0.0
    - npm: 11.12.1

[-] Packages
    - tauri 🦀: 2.11.2
    - tauri-build 🦀: 2.6.2
    - wry 🦀: 0.55.1
    - tao 🦀: 0.35.3
    - tauri-cli 🦀: 2.11.2
    - @tauri-apps/api  ⱼₛ: 2.11.0
    - @tauri-apps/cli  ⱼₛ: 2.11.2

[-] Plugins
    - tauri-plugin-opener 🦀: 2.5.4
    - @tauri-apps/plugin-opener  ⱼₛ: 2.5.4

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

[-] iOS
    - Developer Teams: Valentin Springer (ID: WTYHGPHZGT)

Stack trace

[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
[ 75%] CreatingContainer
[ 80%] InstallingApplication
[ 85%] PostflightingApplication
[ 90%] SandboxingApplication
[ 95%] GeneratingApplicationMap
[100%] Installed package /Users/vale/Repos/Tauri-Test/tauri-app/src-tauri/gen/apple/build/Payload/tauri-app.app
------ Debug phase ------
Starting debug of a2f8335b5f4f93166ec5c55523f038ae17a8f63d (N71mAP, iPhone 6s, iphoneos, arm64, 15.7.3, 19H307) a.k.a. 'Valentin’s iPhone' connected through USB...
[  0%] Looking up developer disk image
[ 95%] Developer disk image mounted successfully
Symbol Path: /Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols
[100%] Connecting to remote debug server
-------------------------
(lldb) command source -s 0 '/tmp/EBE88203-1FCC-46E7-ADE2-221C2CA766B8/fruitstrap-lldb-prep-cmds-a2f8335b5f4f93166ec5c55523f038ae17a8f63d'
Executing commands in '/tmp/EBE88203-1FCC-46E7-ADE2-221C2CA766B8/fruitstrap-lldb-prep-cmds-a2f8335b5f4f93166ec5c55523f038ae17a8f63d'.
(lldb)     platform select remote-'ios' --sysroot '/Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols'
  Platform: remote-ios
 Connected: no
   Sysroot: /Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols
  SDK Path: "/Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols"
(lldb)     target create "/Users/vale/Repos/Tauri-Test/tauri-app/src-tauri/gen/apple/build/Payload/tauri-app.app"
Current executable set to '/Users/vale/Repos/Tauri-Test/tauri-app/src-tauri/gen/apple/build/Payload/tauri-app.app' (arm64).
(lldb)     script fruitstrap_device_app="/private/var/containers/Bundle/Application/C299C189-DAEF-49E4-9A8B-0630B6BF93F4/tauri-app.app"
(lldb)     script fruitstrap_connect_url="connect://127.0.0.1:60166"            
(lldb)     script fruitstrap_output_path=""
(lldb)     script fruitstrap_error_path=""
(lldb)     target modules search-paths add /usr "/Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols/usr" /System "/Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols/System" "/private/var/containers/Bundle/Application/C299C189-DAEF-49E4-9A8B-0630B6BF93F4" "/Users/vale/Repos/Tauri-Test/tauri-app/src-tauri/gen/apple/build/Payload" "/var/containers/Bundle/Application/C299C189-DAEF-49E4-9A8B-0630B6BF93F4" "/Users/vale/Repos/Tauri-Test/tauri-app/src-tauri/gen/apple/build/Payload" /Developer "/Users/vale/Library/Developer/Xcode/iOS DeviceSupport/iPhone8,1 15.7.3 (19H307)/Symbols/Developer"
(lldb)     command script import "/tmp/EBE88203-1FCC-46E7-ADE2-221C2CA766B8/fruitstrap_a2f8335b5f4f93166ec5c55523f038ae17a8f63d.py"
(lldb)     command script add -f fruitstrap_a2f8335b5f4f93166ec5c55523f038ae17a8f63d.connect_command connect
(lldb)     command script add -s asynchronous -f fruitstrap_a2f8335b5f4f93166ec5c55523f038ae17a8f63d.run_command run
(lldb)     command script add -s asynchronous -f fruitstrap_a2f8335b5f4f93166ec5c55523f038ae17a8f63d.autoexit_command autoexit
(lldb)     command script add -s asynchronous -f fruitstrap_a2f8335b5f4f93166ec5c55523f038ae17a8f63d.safequit_command safequit
(lldb)     connect
(lldb)     run                                                                  
successpp                                                                       
(lldb)     safequit

Application has not been launched

failed to run iOS app: Failed to run Io(StderrFile(OwnedFd { fd: 24 }), Io(StdoutFile(OwnedFd { fd: 23 }), Io(StdinFile(OwnedFd { fd: 22 }), Io(BeforeSpawn(<closure>), Io(Env("TMPDIR", "/var/folders/kq/xvq2mnw519d7zf_8y0jy08b00000gn/T/"), Io(Env("HOME", "/Users/vale"), Io(Env("PATH", "/Users/vale/Repos/Tauri-Test/tauri-app/node_modules/.bin:/Users/vale/Repos/Tauri-Test/node_modules/.bin:/Users/vale/Repos/node_modules/.bin:/Users/vale/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/vale/.cargo/bin:/Users/vale/.nix-profile/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"), Io(Env("TAURI_CLI_VERBOSITY", "0"), Io(Env("TERM", "xterm-256color"), Io(Env("SSH_AUTH_SOCK", "/var/folders/kq/xvq2mnw519d7zf_8y0jy08b00000gn/T//ssh-pxRrLrUDMdh0/agent.58151"), Io(Env("RUST_LOG_STYLE", "always"), Cmd(["ios-deploy", "--debug", "--id", "a2f8335b5f4f93166ec5c55523f038ae17a8f63d", "--no-wifi"])))))))))))): command ["ios-deploy", "--debug", "--id", "a2f8335b5f4f93166ec5c55523f038ae17a8f63d", "--no-wifi"] exited with code 1
       Error failed to run iOS app: Failed to run Io(StderrFile(OwnedFd { fd: 24 }), Io(StdoutFile(OwnedFd { fd: 23 }), Io(StdinFile(OwnedFd { fd: 22 }), Io(BeforeSpawn(<closure>), Io(Env("TMPDIR", "/var/folders/kq/xvq2mnw519d7zf_8y0jy08b00000gn/T/"), Io(Env("HOME", "/Users/vale"), Io(Env("PATH", "/Users/vale/Repos/Tauri-Test/tauri-app/node_modules/.bin:/Users/vale/Repos/Tauri-Test/node_modules/.bin:/Users/vale/Repos/node_modules/.bin:/Users/vale/node_modules/.bin:/Users/node_modules/.bin:/node_modules/.bin:/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/vale/.cargo/bin:/Users/vale/.nix-profile/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"), Io(Env("TAURI_CLI_VERBOSITY", "0"), Io(Env("TERM", "xterm-256color"), Io(Env("SSH_AUTH_SOCK", "/var/folders/kq/xvq2mnw519d7zf_8y0jy08b00000gn/T//ssh-pxRrLrUDMdh0/agent.58151"), Io(Env("RUST_LOG_STYLE", "always"), Cmd(["ios-deploy", "--debug", "--id", "a2f8335b5f4f93166ec5c55523f038ae17a8f63d", "--no-wifi"])))))))))))): command ["ios-deploy", "--debug", "--id", "a2f8335b5f4f93166ec5c55523f038ae17a8f63d", "--no-wifi"] exited with code 1

Additional context

Seems to be connected to:
command ["ios-deploy", "--debug", "--id", "a2f8335b5f4f93166ec5c55523f038ae17a8f63d", "--no-wifi"] exited with code 1

Interestingly, the App gets Pushed to the Device, and can be Opened and Accessed, when a reachable Dev Server is running and the initial "Allow Network Access" Request has been accepted the first time. (Via the npm run dev -- --host Option).

But when starting it over IOS Deploy it seems to fail immediately.

Could be connected to the Version the Device uses which is quite Old:
Model: iPhone 6s
Software Version 15.7.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions