tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
85.27k stars 2.58k forks source link

IOS DEV: Error from getpwuid_r: 0 [bug] #9044

Open kitty-eu-org opened 8 months ago

kitty-eu-org commented 8 months ago

Describe the bug

When I run pnpm tauri ios dev I get an error:

Deploying app to device...
com.kitty.kitty: 79519
        Info Watching /Users/hezhaozhao/myself/kitty/src-tauri for changes...
Error from getpwuid_r: 0 (Undefined error: 0)
Filtering the log data using "subsystem == "com.kitty.kitty""

Reproduction

No response

Expected behavior

No response

Full tauri info output

[✔] Environment
    - OS: Mac OS 14.3.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 18.14.0
    - pnpm: 8.12.0
    - npm: 9.3.1

[-] Packages
    - tauri [RUST]: 2.0.0-beta.6
    - tauri-build [RUST]: 2.0.0-beta.4
    - wry [RUST]: 0.37.0
    - tao [RUST]: 0.26.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.0
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

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

[-] iOS
    - Developer Teams: None

Stack trace

No response

Additional context

No response

andrewchen5678 commented 1 month ago

same here with https://v2.tauri.app/plugin/barcode-scanner/ when doing this:

scan({ windowed: true, formats: [Format.QRCode] });
super-fun-surf commented 1 month ago

we are getting the same error. Tauri 2.0.2