tauri-apps / tauri

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

[bug] IOS Asset Validation error, missing storyboard? #9853

Open lyager opened 4 months ago

lyager commented 4 months ago

Describe the bug

When uploading the IPA packet generated using yarn tauri ios build using OSX app 'Transporter' I'm getting an error back that states:

Asset validation failed (90476)
Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchScreen launch storyboard file in your com.******censored*******.app bundle. Use UILaunchScreen instead if the app’s MinimumOSVersion is 14 or higher and you prefer to configure the launch screen without storyboards. For details, see: https://developer.apple.com/documentation/bundleresources/information_property_list/uilaunchstoryboardname (ID: dc66b1a2-1a54-4a07-9066-be20cce9423c)

I'm guessing the error is triggerede by the splashscreen as mentioned? I'll try going forward and use UILaunchScreen as suggested. Or maybe there is a storyboard missing from the IOS template?

Reproduction

No response

Expected behavior

The app should be able to upload using Transporter.

Full tauri info output

warning ../package.json: No license field
$ /Users/jln/src/kw-control-center/node_modules/.bin/tauri info

[✔] Environment
    - OS: Mac OS 14.4.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.77.2 (25ef9e3d8 2024-04-09)
    ✔ cargo: 1.77.2 (e52e36006 2024-03-26)
    ✔ rustup: 1.27.0 (2024-03-08)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.12.2
    - pnpm: 9.0.6
    - yarn: 1.22.21
    - npm: 10.5.0

[-] Packages
    - tauri [RUST]: 2.0.0-beta.18
    - tauri-build [RUST]: 2.0.0-beta.14
    - wry [RUST]: 0.39.4
    - tao [RUST]: 0.27.1
    - tauri-cli [RUST]: 2.0.0-beta.15
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-beta.17

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist/spa
    - devUrl: http://localhost:9000/
    - framework: Vue.js (Quasar)
    - bundler: Vite

[-] iOS
    - Developer Teams: Pascal A/S (ID: BL76TU4HQ6)

Stack trace

No response

Additional context

No response

pewsheen commented 4 months ago

Could you try adding a storyboard file named LaunchScreen to the root folder and see if it can pass the validation?

lyager commented 4 months ago

@pewsheen Yes, and though the default storyboard is ugly, adding LaunchScreen.storyboard works.

pewsheen commented 4 months ago

@pewsheen Yes, and though the default storyboard is ugly, adding LaunchScreen.storyboard works.

Thanks! I guess they want developers to build their launch screen...