Open jrouaix opened 5 months ago
@lucasfernog We're still encountering the issue today
[✔] Environment
- OS: Mac OS 14.6.1 arm64 (X64)
✔ Xcode Command Line Tools: installed
✔ rustc: 1.80.0 (051478957 2024-07-21)
✔ cargo: 1.80.0 (376290515 2024-07-16)
✔ rustup: 1.27.1 (2024-04-24)
✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
- node: 22.0.0
- npm: 10.5.1
[-] Packages
- tauri 🦀: 2.0.6
- tauri-build 🦀: 2.0.2
- wry 🦀: 0.46.3
- tao 🦀: 0.30.5
- tauri-cli 🦀: 2.0.4
- @tauri-apps/api : 2.0.3
- @tauri-apps/cli : 2.0.5
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.2
- @tauri-apps/plugin-shell : 2.0.1
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: Svelte
- bundler: Vite
It can be reproduced within the following repository:
https://github.com/mrguiman/tauri2-test/
Running cargo tauri ios build -c ./src-tauri/tauri.conf-release.json
fails
Describe the bug
Hello,
We have an issue when overriding configuration at build time, in order to have distinct package identifier in dev or release.
the command
cargo tauri ios build
build the.ipa
as expected, asking for the keychain and everything to build the app.then the
cargo tauri ios build -c ./src-tauri/tauri.conf-release.json
where tauri.conf-release.json => (same values but "prd" in place of "dev")fails at
Worth to note : there are a lot of
.dev
name in the long list of environment variables passed by the script So I don't think the -c override really worksReproduction
No response
Expected behavior
It should build the .ipa with .prd bundle ids (overrided by tauri build -c ...)
Full
tauri info
outputStack trace
No response
Additional context
No response