Skip to content

[bug] [ios] [v2] Export method does not work #11092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rtmotiondev opened this issue Sep 23, 2024 · 5 comments · May be fixed by #13255
Open

[bug] [ios] [v2] Export method does not work #11092

rtmotiondev opened this issue Sep 23, 2024 · 5 comments · May be fixed by #13255
Labels
platform: iOS status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@rtmotiondev
Copy link

Describe the bug

Running npm run tauri ios build -- --export-method app-store-connect does not export the app for AppStore. I need to change ExportOptions.plist directly to get it to build correctly.

  • Automatic signing is set for all targets.

Reproduction

npm run tauri ios build -- --export-method app-store-connect then try to submit to the AppStore via the Transporter App. "Asset validation failed (90161)
Invalid Provisioning Profile. The provisioning profile included in the yyy bundle [Payload/yyy.app] is invalid. [Missing code-signing certificate]. A distribution provisioning profile should be used when uploading apps to App Store Connect. (ID: xxx)"

Expected behavior

--export-method app-store-connect to work correctly.

Full tauri info output

> tauri info


[✔] Environment
    - OS: Mac OS 14.7.0 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: 20.17.0
    - npm: 10.8.2

[-] Packages
    - tauri 🦀: 2.0.0-rc.15
    - tauri-build 🦀: 2.0.0-rc.12
    - wry 🦀: 0.43.1
    - tao 🦀: 0.30.0
    - @tauri-apps/api : 2.0.0-rc.5
    - @tauri-apps/cli : 2.0.0-rc.16

[-] Plugins
    - tauri-plugin-window-state 🦀: 2.0.0-rc.5
    - @tauri-apps/plugin-window-state : not installed!
    - tauri-plugin-store 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-store : not installed!
    - tauri-plugin-log 🦀: 2.0.0-rc.2
    - @tauri-apps/plugin-log : not installed!
    - tauri-plugin-shell 🦀: 2.0.0-rc.3
    - @tauri-apps/plugin-shell : not installed!
    - tauri-plugin-dialog 🦀: 2.0.0-rc.7
    - @tauri-apps/plugin-dialog : not installed!
    - tauri-plugin-notification 🦀: 2.0.0-rc.5
    - @tauri-apps/plugin-notification : not installed!
    - tauri-plugin-fs 🦀: 2.0.0-rc.5
    - @tauri-apps/plugin-fs : not installed!

[-] App
    - build-type: bundle
    - frontendDist: ../src

[-] iOS
    - Developer Teams: <Redacted>

Stack trace

No response

Additional context

No response

@AlpineVibrations
Copy link

this command is from the documentation and it doesn't work for us either...

@AlpineVibrations
Copy link

what settings did you have to do manually to get it to build?

@rtmotiondev
Copy link
Author

@super-fun-surf Open src-tauri/gen/apple/ExportOptions.plist and make sure you have:


<dict>
    <key>method</key>
    <string>app-store-connect</string>
</dict> 

@AlpineVibrations
Copy link

I got it to build but I put app-store instead of app-store-connect in my ExportOptions.plist

@DoctorCobweb
Copy link

i had to put app-store in ExportOpions.plist but when calling the tauri CLI had to call it like this (without the --export-method sprecified)

yarn tauri ios build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: iOS status: needs triage This issue needs to triage, applied to new issues type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants