Skip to content
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

[bug] 1.5.0 xcrun notarytool option error #7917

Closed
wyhaya opened this issue Sep 29, 2023 · 1 comment
Closed

[bug] 1.5.0 xcrun notarytool option error #7917

wyhaya opened this issue Sep 29, 2023 · 1 comment
Labels
platform: macOS priority: 1 high status: needs triage This issue needs to triage, applied to new issues type: bug

Comments

@wyhaya
Copy link

wyhaya commented Sep 29, 2023

Describe the bug

export APPLE_ID='[email protected]'
export APPLE_PASSWORD='***'

pnpm tauri build -v

Error

   Running [tauri_bundler::bundle::common] Command `xcrun  notarytool submit /var/folders/jh/tpbw_8jx3_q6lhs07k16m6hh0000gn/T/.tmpx8iFjq/xxx.zip --wait --output-format json --username [email protected] --password ***`
Error: Must provide an Apple ID (--apple-id) to authenticate with an app-specific password.

       Error [tauri_cli_node] failed to bundle project: failed to upload app to Apple's notarization servers.
 ELIFECYCLE  Command failed with exit code 1.

Fix it

- xcrun  notarytool submit ... --wait --output-format json --username [email protected] --password ***
+ xcrun  notarytool submit ... --wait --output-format json --apple-id [email protected] --password ***

Reproduction

No response

Expected behavior

No response

Platform and versions

[✔] Environment
    - OS: Mac OS 14.0.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.72.1 (d5c2e9c34 2023-09-13)
    ✔ Cargo: 1.72.1 (103a7ff2e 2023-08-15)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.7.0
    - pnpm: 8.7.6
    - yarn: 1.22.19
    - npm: 10.1.0

[-] Packages
    - tauri [RUST]: 1.5.0
    - tauri-build [RUST]: 1.4.1
    - wry [RUST]: 0.24.4
    - tao [RUST]: 0.16.2
    - tauri-cli [RUST]: not installed!
    - @tauri-apps/api [NPM]: 1.5.0
    - @tauri-apps/cli [NPM]: 1.5.0

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir: ../dist/
    - devPath: http://localhost:8080/
    - framework: React
    - bundler: Vite
@wyhaya wyhaya added status: needs triage This issue needs to triage, applied to new issues type: bug labels Sep 29, 2023
@wyhaya wyhaya changed the title [bug] xcrun notarytool option error [bug] 1.5.0 xcrun notarytool option error Sep 29, 2023
lucasfernog added a commit that referenced this issue Oct 2, 2023
@reyamir
Copy link

reyamir commented Oct 4, 2023

Hi, this issue still not fully fix @lucasfernog
new error in v1.5.1

Running [tauri_bundler::bundle::common] Command `xcrun  notarytool submit /var/folders/st/v8wcwthx1b76s4ytmx59v2f80000gn/T/.tmpoparFm/Lume.zip --wait --output-format json --apple-id [email protected] --password 123456`

Must provide all app-specific password authentication arguments (--apple-id, --password, --team-id). You may leave '--password' unspecified on initial invocation to receive a secure prompt.

Error [tauri_cli_node] failed to bundle project: failed to upload app to Apple's notarization servers.

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

No branches or pull requests

4 participants