[bug] Tauri 2: productName from tauri.conf.json not working as expected for iOS
Opened this issue · 0 comments
Describe the bug
When building app on macOS, dmg file is correctly named after productName from tauri.cong.json (or specific platform one) but when doing same from iOS, when producName in iOS config differs from rust package name, deploy to simulator not is not working, ipa file is not named correctly and app has wrong name.
Rust name: iostest
Product name: Product
tauri build
macOS dmg file: Product_0.1.0_aarch64.dmg
macOS app name: Product
tauri ios build
iOS ipa name: iostest.ipa
iOS app name: iostest
tauri ios dev
Is failing with An application bundle was not found at the provided path.
Reproduction
https://github.com/skurovec/iostest
Just need to provide you own app identifier and provisioning.
Expected behavior
Expected ios ipa file Product.ipa and app name Product.
Full tauri info
output
$ tauri info
[✔] Environment
- OS: Mac OS 15.0.1 arm64 (X64)
✔ Xcode Command Line Tools: installed
✔ rustc: 1.81.0 (eeb90cda1 2024-09-04)
✔ cargo: 1.81.0 (2dbb1af80 2024-08-20)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-aarch64-apple-darwin (default)
- node: 22.9.0
- yarn: 1.22.22
- npm: 10.8.3
[-] Packages
- tauri 🦀: 2.0.2
- tauri-build 🦀: 2.0.1
- wry 🦀: 0.44.1
- tao 🦀: 0.30.3
- tauri-cli 🦀: 1.4.0
- @tauri-apps/api : not installed!
- @tauri-apps/cli : 2.0.2
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.1
- @tauri-apps/plugin-shell : not installed!
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../src
[-] iOS
- Developer Teams: XXXXXXX
Stack trace
No response
Additional context
No response