tauri: [bug] CLI: failed to bundle project: failed to parse RequestUUID from upload output
Describe the bug
Failed in notarizing process.
Reproduction
- Config all env variables that needed for code signing and notarization
- Run
yarn tauri build --verbose
Expected behavior
Succeed in notarization stage.
Platform and versions
yarn run v1.22.19
$ tauri info
Environment
› OS: Mac OS 10.13.6 X64
› Node.js: 14.18.0
› npm: 6.14.15
› pnpm: 7.2.1
› yarn: 1.22.19
› rustup: 1.24.3
› rustc: 1.61.0
› cargo: 1.61.0
› Rust toolchain: stable-x86_64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.0.0
› @tauri-apps/api [NPM]: 1.0.1
› tauri [RUST]: 1.0.1,
› tauri-build [RUST]: 1.0.1,
› tao [RUST]: 0.12.0,
› wry [RUST]: 0.19.0,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:3000/
› framework: Vue.js
App directory structure
├─ dist
├─ node_modules
├─ public
├─ dist-isolation
├─ src-tauri
├─ .vscode
└─ src
Stack trace
Bundling [tauri_bundler::bundle::macos::app] tauri-app.app (/Users/soon/projects/tauri-app/src-tauri/target/debug/bundle/macos/tauri-app.app)
Signing [tauri_bundler::bundle::macos::sign] /Users/soon/projects/tauri-app/src-tauri/target/debug/bundle/macos/tauri-app.app with identity "Developer ID Application: xxx"
Running [tauri_bundler::bundle::common] Command `codesign --force -s Developer ID Application: xxx --options runtime --deep /Users/soon/projects/tauri-app/src-tauri/target/debug/bundle/macos/tauri-app.app`
Running [tauri_bundler::bundle::common] Command `ditto -c -k --keepParent --sequesterRsrc /Users/soon/projects/tauri-app/src-tauri/target/debug/bundle/macos/tauri-app.app /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpITm9i2/tauri-app.zip`
Signing [tauri_bundler::bundle::macos::sign] /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpITm9i2/tauri-app.zip with identity "Developer ID Application: xxx"
Running [tauri_bundler::bundle::common] Command `codesign --force -s Developer ID Application: xxx /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpITm9i2/tauri-app.zip`
Notarizing [tauri_bundler::bundle::macos::sign] /Users/soon/projects/tauri-app/src-tauri/target/debug/bundle/macos/tauri-app.app
Running [tauri_bundler::bundle::common] Command `xcrun altool --notarize-app -f /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpITm9i2/tauri-app.zip --primary-bundle-id com.rtwl.myapp -u APPLE_ID -p APPLE_PASSWORD`
2022-07-01 14:40:21.497 altool[52250:853132] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpITm9i2/tauri-app.zip'.
RequestUUID = da3596d8-19f1-4f8f-a4f2-6f84e414b7d1
Error running CLI: failed to bundle project: failed to parse RequestUUID from upload output. : failed to parse RequestUUID from upload output.
error Command failed with exit code 1.
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 25 (13 by maintainers)
Commits related to this issue
- fix(bundler): ensure RequestUUID parser adds a \n, closes #4549 — committed to tauri-apps/tauri by lucasfernog 2 years ago
- Update sign-macos.md Adjust the requirements of code-signing and notarization. Based on apple developer docs and tested on corresponding version of macOS&Xcode. See [tauri-apps/tauri#4549](https://... — committed to JSoon/tauri-docs by JSoon 2 years ago
- Update sign-macos.md (#733) * Update sign-macos.md Adjust the requirements of code-signing and notarization. Based on apple developer docs and tested on corresponding version of macOS&Xcode. See [... — committed to tauri-apps/tauri-docs by JSoon 2 years ago
Yeah I agree Tauri should support it. Can you file an issue or PR to the tauri-docs repo? And let me know if the fix works 😃
I think it’s the same issue - let me make a change and we try again.
Ok, I’ll try that branch now