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] CLI: failed to bundle project: failed to parse RequestUUID from upload output #4549

Closed
JSoon opened this issue Jul 1, 2022 · 25 comments

Comments

@JSoon
Copy link

JSoon commented Jul 1, 2022

Describe the bug

Failed in notarizing process.

Reproduction

  1. Config all env variables that needed for code signing and notarization
  2. 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

@lucasfernog
Copy link
Member

Seems like the CLI output somehow is missing a newline. I'll make sure we append one just in case, and test if this is happening on my macOS.

@lucasfernog
Copy link
Member

lucasfernog commented Jul 1, 2022

Fix has been pushed. You can try it using the following script:

cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch fix/notarization-request-uuid-parse
cargo tauri build --verbose

EDIT: use --branch dev since we've merged the PR now.

@JSoon
Copy link
Author

JSoon commented Jul 2, 2022

Will take a shot before closing this issue, thanks!

@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

Still got this error after upgrade tauri-cli:

  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/.tmptgcjWz/tauri-app.zip --primary-bundle-id com.rtwl.myapp -u APPLE_ID -p APPLE_PASSWORD`
2022-07-04 09:46:03.980 altool[6333:59487] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmptgcjWz/tauri-app.zip'.
RequestUUID = 20669f0c-ee5f-4b4c-a956-af1172ca8b17
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.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
soon@SoondeMacBook-Pro tauri-app (main) $ 
soon@SoondeMacBook-Pro tauri-app (main) $ 
soon@SoondeMacBook-Pro tauri-app (main) $ 
soon@SoondeMacBook-Pro tauri-app (main) $ 
soon@SoondeMacBook-Pro tauri-app (main) $ cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch dev
    Updating git repository `https://github.com/tauri-apps/tauri`
     Ignored package `tauri-cli v1.0.2 (https://github.com/tauri-apps/tauri?branch=dev#3fbaee45)` is already installed, use --force to override

Any idea how? @lucasfernog

@lucasfernog
Copy link
Member

@JSoon did you run with the cargo tauri script as I said?

cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch dev
cargo tauri build --verbose

@lucasfernog lucasfernog reopened this Jul 4, 2022
@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

Yes, I did. To confirm this error, I just rerun the commands you mentioned then I got:

  Notarizing [tauri_bundler::bundle::macos::sign] /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarize-app -f /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpxosSDv/tauri-app.zip --primary-bundle-id com.rtwl.myapp -u APPLE_ID -p APPLE_PASSWORD`
2022-07-04 10:09:25.499 altool[8612:89992] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpxosSDv/tauri-app.zip'.
RequestUUID = 5eb4e4cd-fe71-4af6-8e11-6c2797dfc584
       Error [tauri_cli] failed to bundle project: failed to parse RequestUUID from upload output. 
: failed to parse RequestUUID from upload output. 

@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

I also checked sign.rs in /Users/soon/.cargo/git/checkouts/tauri-9dcc2f9152472c1a/3fbaee4/tooling/bundler/src/bundle/macos/sign.rs to see if the fix being applied.

image

@lucasfernog
Copy link
Member

I'm out of ideas now :( can you try this branch?

cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch fix/request-uuid-parse --force
cargo tauri build --verbose

@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

Instead of putting all the codes in if condition, could u print some logs of uuid before and after processing it? Maybe I could figure it out the failed reason on my OS.

@lucasfernog
Copy link
Member

I put a println for the stdout contents in that branch.

@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

Ok, I'll try that branch now

@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

2022-07-04 10:49:22.929 altool[10554:120752] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpAIGVDp/tauri-app.zip'.
RequestUUID = 42082efe-9773-4f9d-8d9a-c06b70a15df5
notarize status: "\n"
       Error [tauri_cli] failed to bundle project: failed to parse RequestUUID from upload output. 
: failed to parse RequestUUID from upload output. 

@lucasfernog Seems like we only got A \n here.

@lucasfernog
Copy link
Member

Ok might be an issue with the verbose flag, does it work without it? I'm done for the day but I can fix it tomorrow.

@JSoon
Copy link
Author

JSoon commented Jul 4, 2022

No luck without --verbose still:

soon@SoondeMacBook-Pro tauri-app (main) $ cargo tauri build
     Running beforeBuildCommand `yarn build`
yarn run v1.22.19
$ vue-tsc --noEmit && vite build
vite v2.9.13 building for production...
✓ 35 modules transformed.
dist/assets/logo.03d6d6da.png    6.69 KiB
dist/index.html                  0.42 KiB
dist/assets/index.f0ced7b7.css   0.34 KiB / gzip: 0.24 KiB
dist/assets/index.7dac397e.js    96.37 KiB / gzip: 30.15 KiB
✨  Done in 3.90s.
   Compiling app v0.1.0 (/Users/soon/projects/tauri-app/src-tauri)
    Finished release [optimized] target(s) in 40.09s
    Bundling tauri-app.app (/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app)
     Signing /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app with identity xxx
        Info using entitlements file at entitlements.mac.plist
     Signing /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpNSCozU/tauri-app.zip with identity xxx
        Info using entitlements file at entitlements.mac.plist
  Notarizing /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
notarize status: "\n"
       Error failed to bundle project: failed to parse RequestUUID from upload output. 
: failed to parse RequestUUID from upload output. 

But thanks for the prompt response, enjoy the night! This issue won't go anywhere :)

@lucasfernog
Copy link
Member

Ok i'll jump on my 10.13 VM and see what's going on.

@lucasfernog
Copy link
Member

@JSoon can you try running the install and build again? I couldn't get notarization to work on my VM :(

cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch fix/request-uuid-parse --force
cargo tauri build --verbose

@JSoon
Copy link
Author

JSoon commented Jul 5, 2022

Finally succeed in parsing RequestUUID, but there is another problem in the next step of getting notarization status:

  Notarizing [tauri_bundler::bundle::macos::sign] /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarize-app -f /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpJj3dPC/tauri-app.zip --primary-bundle-id com.rtwl.myapp -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 08:59:21.859 altool[22052:371029] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpJj3dPC/tauri-app.zip'.
RequestUUID = 42a3e03e-b53e-431e-a846-65963daebad9
notarize status: "\n2022-07-05 08:59:21.859 altool[22052:371029] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpJj3dPC/tauri-app.zip'.\nRequestUUID = 42a3e03e-b53e-431e-a846-65963daebad9\n\n"

// Start getting notarization status bellow:

        Info [tauri_bundler::bundle::macos::sign] notarization started; waiting for Apple response...
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 08:59:33.740 altool[22120:371685] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: in progress
    LogFileURL: (null)
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 08:59:45.839 altool[22127:371982] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: in progress
    LogFileURL: (null)
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 08:59:58.037 altool[22140:372090] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: in progress
    LogFileURL: (null)
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:00:10.127 altool[22147:372190] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: in progress
    LogFileURL: (null)
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:00:22.941 altool[22156:372342] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: in progress
    LogFileURL: (null)
   Status Code: 0
Status Message: Package Approved
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:00:35.025 altool[22163:372450] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: in progress
    LogFileURL: (null)
   Status Code: 0
Status Message: Package Approved
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:00:47.217 altool[22170:372571] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: success
    LogFileURL: https://osxapps-ssl.itunes.apple.com/itunes-assets/Enigma122/v4/96/02/34/96023430-426d-7b68-0c82-339b8cffcf2b/developer_log.json?accessKey=1657177246_4136194393730474799_RN5thNzFKnAIrse%2BCuK9zIHinEY3zXYW%2FVtbBkPHATXdHYIMxqMoyP3mauttyy9YAxdZaxr1utPaFn16ALWsfQ4M7KTy9FUEt22HhoRPu9ECXrvxSiMJgypnMv1wTvuQrgUqU17mMUAhkyt80liVZhmDH42lb22JOd1d6ghOg6k%3D
   Status Code: 0
Status Message: Package Approved
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:00:59.198 altool[22183:372727] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: success
    LogFileURL: https://osxapps-ssl.itunes.apple.com/itunes-assets/Enigma122/v4/96/02/34/96023430-426d-7b68-0c82-339b8cffcf2b/developer_log.json?accessKey=1657177258_5074009585485786235_dPkWqILeDIb29qi0MRIjIxr7Z%2BoOJNXJF7z2lDVKQfO1K1fcsxDBWqFzFiH%2FmuBavM7dAUaaNo7%2BO6GTnm1EsG6qHxKJ9%2FTeXPzjd90tFicpt8Ti3OEQqVzGpADadbxuP6Y123UV5I7FNvKdxQ5uWDG5rAt7mjwDUrKs6Nmsk84%3D
   Status Code: 0
Status Message: Package Approved
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:01:11.393 altool[22193:372862] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: success
    LogFileURL: https://osxapps-ssl.itunes.apple.com/itunes-assets/Enigma122/v4/96/02/34/96023430-426d-7b68-0c82-339b8cffcf2b/developer_log.json?accessKey=1657177270_3466742013042786070_Ud%2Fc6ZhA4N9pxa7OBr4msrHkzIrXaXdAyAKYjKAg1X4d0Nvgsz3jaeaoaK2sDcF3b1grdXf9hKehLhiSE%2Fd0QnuPHBmh%2B2aF0%2FrlVkcPViIoiiSKSSvYH37TbjE7mQcIj4sAuZgcnTP1x2ZtEottvjHSwhpsPCYTHpRJKp0OEFs%3D
   Status Code: 0
Status Message: Package Approved
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info 42a3e03e-b53e-431e-a846-65963daebad9 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:01:27.068 altool[22208:372995] No errors getting notarization info.

   RequestUUID: 42a3e03e-b53e-431e-a846-65963daebad9
          Date: 2022-07-05 00:59:21 +0000
        Status: success
    LogFileURL: https://osxapps-ssl.itunes.apple.com/itunes-assets/Enigma122/v4/96/02/34/96023430-426d-7b68-0c82-339b8cffcf2b/developer_log.json?accessKey=1657177286_1943149773633819497_i2I5OwIhlxoT%2F4WO2dO805%2BKHZNCEO37kFJXkI7i7aqaQBJncqDiS%2BDIH07kYhyidk%2F%2FDW1AfqqMHkVZqOBarOs8BEQYVRKhHe3b7kb1Gj9CATaIl7XJ0xPk%2BKx4DbebZIJsNXux2iPV9A4rFPQ6wO1sSYEkZiPmgtA%2BLS9K3N4%3D
   Status Code: 0
Status Message: Package Approved
...

Looks like the CLI never jump to the stapling procedure?

@lucasfernog
Copy link
Member

I think it's the same issue - let me make a change and we try again.

@lucasfernog
Copy link
Member

Can you try installing and building again @JSoon I think we finally fixed this!

@lucasfernog
Copy link
Member

Crazy that the altool from the xcode version you're using is writing the data we need to stderr instead of stdout :D

@JSoon
Copy link
Author

JSoon commented Jul 5, 2022

One moment pls.

@JSoon
Copy link
Author

JSoon commented Jul 5, 2022

Actually it's the least version of notarization that the Mac OS supports, so I think Tauri App should meet this environment.

Prepare your software for notarization
Notarization requires Xcode 10 or later. Building a new app for notarization requires macOS 10.13.6 or later. Stapling an app requires macOS 10.12 or later.

https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution

So perhaps we might also update the docs here?

@lucasfernog
Copy link
Member

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 :)

@JSoon
Copy link
Author

JSoon commented Jul 5, 2022

The fix works and bravo we make it! Here are some output logs just for recording purpose:

  Notarizing [tauri_bundler::bundle::macos::sign] /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarize-app -f /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpbKasg2/tauri-app.zip --primary-bundle-id com.rtwl.myapp -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:24:59.215 altool[25436:399122] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpbKasg2/tauri-app.zip'.
RequestUUID = a336e0c6-5b7e-4bcb-899a-dd851b331296
notarize response: "\n2022-07-05 09:24:59.215 altool[25436:399122] No errors uploading '/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/.tmpbKasg2/tauri-app.zip'.\nRequestUUID = a336e0c6-5b7e-4bcb-899a-dd851b331296\n\n"
        Info [tauri_bundler::bundle::macos::sign] notarization started; waiting for Apple response...
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info a336e0c6-5b7e-4bcb-899a-dd851b331296 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:25:11.197 altool[25508:399833] No errors getting notarization info.

   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296
          Date: 2022-07-05 01:24:59 +0000
        Status: in progress
    LogFileURL: (null)
notarize status: "\n2022-07-05 09:25:11.197 altool[25508:399833] No errors getting notarization info.\n\n   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296\n          Date: 2022-07-05 01:24:59 +0000\n        Status: in progress\n    LogFileURL: (null)\n\n"
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info a336e0c6-5b7e-4bcb-899a-dd851b331296 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:25:23.184 altool[25517:400111] No errors getting notarization info.

   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296
          Date: 2022-07-05 01:24:59 +0000
        Status: in progress
    LogFileURL: (null)
notarize status: "\n2022-07-05 09:25:23.184 altool[25517:400111] No errors getting notarization info.\n\n   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296\n          Date: 2022-07-05 01:24:59 +0000\n        Status: in progress\n    LogFileURL: (null)\n\n"
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info a336e0c6-5b7e-4bcb-899a-dd851b331296 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:25:35.069 altool[25524:400238] No errors getting notarization info.

   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296
          Date: 2022-07-05 01:24:59 +0000
        Status: in progress
    LogFileURL: (null)
   Status Code: 0
Status Message: Package Approved
notarize status: "\n2022-07-05 09:25:35.069 altool[25524:400238] No errors getting notarization info.\n\n   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296\n          Date: 2022-07-05 01:24:59 +0000\n        Status: in progress\n    LogFileURL: (null)\n   Status Code: 0\nStatus Message: Package Approved\n\n"
     Running [tauri_bundler::bundle::common] Command `xcrun  altool --notarization-info a336e0c6-5b7e-4bcb-899a-dd851b331296 -u APPLE_ID -p APPLE_PASSWORD`
2022-07-05 09:25:47.278 altool[25531:400359] No errors getting notarization info.

   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296
          Date: 2022-07-05 01:24:59 +0000
        Status: success
    LogFileURL: https://osxapps-ssl.itunes.apple.com/itunes-assets/Enigma122/v4/64/fc/60/64fc60a1-e2db-4b0a-1a1a-52c47d059425/developer_log.json?accessKey=1657178746_1229505838964003991_T7Em4JNX9u0kmY3bFDyjj3Fuw0dwxCzBu5L9QWzgOIdiVqkzbTIVjuaalH6KWHyk47n9F4D02kurLkIeY18W0rcidkOEViHJTxoGgt3IMElSsK2xPHU801xk67vM0UzD%2BTfYEgAQToShCRDSJOEM6%2FbmeUr%2BJB%2FrwRXB4iTa8j0%3D
   Status Code: 0
Status Message: Package Approved
notarize status: "\n2022-07-05 09:25:47.278 altool[25531:400359] No errors getting notarization info.\n\n   RequestUUID: a336e0c6-5b7e-4bcb-899a-dd851b331296\n          Date: 2022-07-05 01:24:59 +0000\n        Status: success\n    LogFileURL: https://osxapps-ssl.itunes.apple.com/itunes-assets/Enigma122/v4/64/fc/60/64fc60a1-e2db-4b0a-1a1a-52c47d059425/developer_log.json?accessKey=1657178746_1229505838964003991_T7Em4JNX9u0kmY3bFDyjj3Fuw0dwxCzBu5L9QWzgOIdiVqkzbTIVjuaalH6KWHyk47n9F4D02kurLkIeY18W0rcidkOEViHJTxoGgt3IMElSsK2xPHU801xk67vM0UzD%2BTfYEgAQToShCRDSJOEM6%2FbmeUr%2BJB%2FrwRXB4iTa8j0%3D\n   Status Code: 0\nStatus Message: Package Approved\n\n"
     Running [tauri_bundler::bundle::common] Command `xcrun  stapler staple -v tauri-app.app`
Processing: /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
Properties are {
    NSURLIsDirectoryKey = 1;
    NSURLIsPackageKey = 1;
    NSURLIsSymbolicLinkKey = 0;
    NSURLLocalizedTypeDescriptionKey = Application;
    NSURLTypeIdentifierKey = "com.apple.application-bundle";
    "_NSURLIsApplicationKey" = 1;
}
Props are {
    cdhash = <54b7c882 dda282cc ba08fdfc 298e0051 83f544cd>;
    digestAlgorithm = 2;
    flags = 65536;
    secureTimestamp = "2022-07-05 01:24:32 +0000";
    signingId = "com.rtwl.myapp";
    teamId = C6F9AK99VQ;
}
JSON Data is {
    records =     (
                {
            recordName = "2/2/54b7c882dda282ccba08fdfc298e005183f544cd";
        }
    );
}
 Headers: {
    "Content-Type" = "application/json";
}
Domain is api.apple-cloudkit.com
Response is <NSHTTPURLResponse: 0x7f9043534d80> { URL: https://api.apple-cloudkit.com/database/1/com.apple.gk.ticket-delivery/production/public/records/lookup } { Status Code: 200, Headers {
    "Apple-Originating-System" =     (
        UnknownOriginatingSystem
    );
    Connection =     (
        "keep-alive"
    );
    "Content-Encoding" =     (
        gzip
    );
    "Content-Type" =     (
        "application/json; charset=UTF-8"
    );
    Date =     (
        "Tue, 05 Jul 2022 01:25:49 GMT"
    );
    Server =     (
        "AppleHttpServer/f51b8f44eee0"
    );
    "Strict-Transport-Security" =     (
        "max-age=31536000; includeSubDomains;"
    );
    "Transfer-Encoding" =     (
        Identity
    );
    Via =     (
        "xrail:st53p00ic-qujn14040702.me.com:8301:22R340:grp60,631194250daa17e24277dea86cf30319:951a4cdeb081c87ed1dcdef383a61a0c:hktko1"
    );
    "X-Apple-CloudKit-Version" =     (
        "1.0"
    );
    "X-Apple-Edge-Response-Time" =     (
        217
    );
    "X-Apple-Request-UUID" =     (
        "c5f203fa-0428-434d-b222-ac11a5e1cdb8"
    );
    "X-Responding-Instance" =     (
        "ckdatabasews:16305501:st42p63ic-ztfb05121701:8807:2217B379:5b94dbf5b96fe5b4dec28d612ad6be477ce4c00d"
    );
    "access-control-expose-headers" =     (
        "X-Apple-Request-UUID,X-Responding-Instance,Via"
    );
    "apple-seq" =     (
        0
    );
    "apple-tk" =     (
        false
    );
    "x-apple-user-partition" =     (
        63
    );
} }
Size of data is 2817
JSON Response is: {
    records =     (
                {
            created =             {
                deviceID = 2;
                timestamp = 1656984324233;
                userRecordName = "_b133e60953755a92966d7ca08d9c731a";
            };
            deleted = 0;
            fields =             {
                signedTicket =                 {
                    type = BYTES;
                    value = "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";
                };
            };
            modified =             {
                deviceID = 2;
                timestamp = 1656984324233;
                userRecordName = "_b133e60953755a92966d7ca08d9c731a";
            };
            pluginFields =             {
            };
            recordChangeTag = l57hon7p;
            recordName = "2/2/54b7c882dda282ccba08fdfc298e005183f544cd";
            recordType = DeveloperIDTicket;
        }
    );
}
Downloaded ticket has been stored at file:///var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/c5f203fa-0428-434d-b222-ac11a5e1cdb8.ticket.
Processing: /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
Properties are {
    NSURLIsDirectoryKey = 1;
    NSURLIsPackageKey = 1;
    NSURLIsSymbolicLinkKey = 0;
    NSURLLocalizedTypeDescriptionKey = Application;
    NSURLTypeIdentifierKey = "com.apple.application-bundle";
    "_NSURLIsApplicationKey" = 1;
}
Props are {
    cdhash = <54b7c882 dda282cc ba08fdfc 298e0051 83f544cd>;
    digestAlgorithm = 2;
    flags = 65536;
    secureTimestamp = "2022-07-05 01:24:32 +0000";
    signingId = "com.rtwl.myapp";
    teamId = C6F9AK99VQ;
}
The staple and validate action worked!
    Bundling [tauri_bundler::bundle::macos::dmg] tauri-app_1.0.0_x64.dmg (/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/tauri-app_1.0.0_x64.dmg)
     Running [tauri_bundler::bundle::macos::dmg] bundle_dmg.sh
     Running [tauri_bundler::bundle::common] Command `/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/bundle_dmg.sh  --volname tauri-app --icon tauri-app 180 170 --app-drop-link 480 170 --window-size 660 400 --hide-extension tauri-app.app --volicon /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns tauri-app_1.0.0_x64.dmg tauri-app.app`
+ WINX=10
+ WINY=60
+ WINW=500
+ WINH=350
+ ICON_SIZE=128
+ TEXT_SIZE=16
+ FORMAT=UDZO
+ ADD_FILE_SOURCES=()
+ ADD_FILE_TARGETS=()
+ IMAGEKEY=
+ HDIUTIL_VERBOSITY=
+ SANDBOX_SAFE=0
+ BLESS=0
+ SKIP_JENKINS=0
+ MAXIMUM_UNMOUNTING_ATTEMPTS=3
+ POSITION_CLAUSE=
+ HIDING_CLAUSE=
+ [[ - = \- ]]
+ case $1 in
+ VOLUME_NAME=tauri-app
+ shift
+ shift
+ case $FORMAT in
+ IMAGEKEY='-imagekey zlib-level=9'
+ [[ - = \- ]]
+ case $1 in
+ POSITION_CLAUSE='set position of item "tauri-app" to {180, 170}
		'
+ shift
+ shift
+ shift
+ shift
+ case $FORMAT in
+ IMAGEKEY='-imagekey zlib-level=9'
+ [[ - = \- ]]
+ case $1 in
+ APPLICATION_LINK=480
+ APPLICATION_CLAUSE='set position of item "Applications" to {480, 170}
		'
+ shift
+ shift
+ shift
+ case $FORMAT in
+ IMAGEKEY='-imagekey zlib-level=9'
+ [[ - = \- ]]
+ case $1 in
+ WINW=660
+ WINH=400
+ shift
+ shift
+ shift
+ case $FORMAT in
+ IMAGEKEY='-imagekey zlib-level=9'
+ [[ - = \- ]]
+ case $1 in
+ HIDING_CLAUSE='set the extension hidden of item "tauri-app.app" to true
		'
+ shift
+ shift
+ case $FORMAT in
+ IMAGEKEY='-imagekey zlib-level=9'
+ [[ - = \- ]]
+ case $1 in
+ VOLUME_ICON_FILE=/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns
+ shift
+ shift
+ case $FORMAT in
+ IMAGEKEY='-imagekey zlib-level=9'
+ [[ t = \- ]]
+ [[ -z tauri-app.app ]]
+++ dirname /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/bundle_dmg.sh
++ cd /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg
++ pwd
+ SCRIPT_DIR=/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg
+ DMG_PATH=tauri-app_1.0.0_x64.dmg
++ dirname tauri-app_1.0.0_x64.dmg
+ DMG_DIRNAME=.
++ cd .
++ pwd
+ DMG_DIR=/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos
++ basename tauri-app_1.0.0_x64.dmg
+ DMG_NAME=tauri-app_1.0.0_x64.dmg
+ DMG_TEMP_NAME=/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
++ cd tauri-app.app
++ pwd
+ SRC_FOLDER=/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
+ [[ .dmg != \.\d\m\g ]]
+ [[ -z tauri-app ]]
+ BREW_INSTALL=0
+ AUX_PATH=/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/support
+ '[' 0 -eq 0 ']'
+ test -d /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/support
+ [[ -f /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app/.DS_Store ]]
+ echo 'Creating disk image...'
Creating disk image...
+ [[ -f /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg ]]
+ CUSTOM_SIZE=
+ [[ -n '' ]]
+ '[' 0 -eq 0 ']'
+ hdiutil create -srcfolder /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app -volname tauri-app -fs HFS+ -fsargs '-c c=64,a=16,e=16' -format UDRW /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
created: /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
++ get_size /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
+++ du -s /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
+++ sed -e 's/	.*//g'
++ bytes_size=27480
+++ blocks_to_megabytes 27480
+++ MB_SIZE=15
+++ echo 15
++ echo 15
+ DISK_IMAGE_SIZE=15
+ [[ 0 -eq 1 ]]
+ [[ -n '' ]]
++ expr 15 + 20
+ DISK_IMAGE_SIZE=35
++ hdiutil resize -limits /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
++ awk 'NR=1{print int($1/2048+1)}'
+ MIN_DISK_IMAGE_SIZE=14
+ '[' 14 -gt 35 ']'
+ hdiutil resize -size 35m /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
+ echo 'Mounting disk image...'
Mounting disk image...
+ MOUNT_DIR=/Volumes/tauri-app
+ [[ -d /Volumes/tauri-app ]]
+ echo 'Mounting disk image...'
Mounting disk image...
+ echo 'Mount directory: /Volumes/tauri-app'
Mount directory: /Volumes/tauri-app
++ hdiutil attach -readwrite -noverify -noautoopen /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
++ grep -E --color=never '^/dev/'
++ sed 1q
++ awk '{print $1}'
+ DEV_NAME=/dev/disk2
+ echo 'Device name:     /dev/disk2'
Device name:     /dev/disk2
+ [[ -n '' ]]
+ [[ -n 480 ]]
+ echo 'making link to Applications dir'
making link to Applications dir
+ test -d /Volumes/tauri-app/Applications
+ ln -s /Applications /Volumes/tauri-app/Applications
+ [[ -n '' ]]
+ [[ -n /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns ]]
+ echo 'Copying volume icon file '\''/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns'\''...'
Copying volume icon file '/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns'...
+ cp /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns /Volumes/tauri-app/.VolumeIcon.icns
+ SetFile -c icnC /Volumes/tauri-app/.VolumeIcon.icns
+ [[ -n '' ]]
++ mktemp -t createdmg.tmp.XXXXXXXXXX
+ APPLESCRIPT_FILE=/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/createdmg.tmp.XXXXXXXXXX.qLdZjJ3m
+ [[ 0 -eq 1 ]]
+ [[ 0 -eq 0 ]]
+ applescript_source
+ '[' 0 -eq 0 ']'
+ cat /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/support/template.applescript
+ sed -e s/WINX/10/g -e s/WINY/60/g -e s/WINW/660/g -e s/WINH/400/g -e s/BACKGROUND_CLAUSE//g -e s/REPOSITION_HIDDEN_FILES_CLAUSE//g -e s/ICON_SIZE/128/g -e s/TEXT_SIZE/16/g
+ perl -pe 's/POSITION_CLAUSE/set position of item "tauri-app" to {180, 170}
		/g'
+ perl -pe s/QL_CLAUSE//g
+ perl -pe 's/APPLICATION_CLAUSE/set position of item "Applications" to {480, 170}
		/g'
+ perl -pe 's/HIDING_CLAUSE/set the extension hidden of item "tauri-app.app" to true
		/'
+ sleep 2
+ echo 'Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/createdmg.tmp.XXXXXXXXXX.qLdZjJ3m" "tauri-app"'
Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/createdmg.tmp.XXXXXXXXXX.qLdZjJ3m" "tauri-app"
+ /usr/bin/osascript /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/createdmg.tmp.XXXXXXXXXX.qLdZjJ3m tauri-app
waited 1 seconds for .DS_STORE to be created.
+ true
+ echo 'Done running the AppleScript...'
+ sleep 4
Done running the AppleScript...
+ rm /var/folders/q2/ypd93hqx4b72ctth9cf2yq080000gn/T/createdmg.tmp.XXXXXXXXXX.qLdZjJ3m
+ echo 'Fixing permissions...'
Fixing permissions...
+ chmod -Rf go-w /Volumes/tauri-app
+ echo 'Done fixing permissions.'
Done fixing permissions.
+ [[ 0 -eq 1 ]]
Skipping blessing on sandbox
+ echo 'Skipping blessing on sandbox'
+ [[ -n /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/icon.icns ]]
+ SetFile -a C /Volumes/tauri-app
+ echo 'Deleting .fseventsd'
Deleting .fseventsd
+ rm -rf /Volumes/tauri-app/.fseventsd
+ unmounting_attempts=0
+ echo 'Unmounting disk image...'
Unmounting disk image...
+ ((  unmounting_attempts++  ))
+ hdiutil detach /dev/disk2
"disk2" unmounted.
"disk2" ejected.
+ exit_code=0
+ ((  exit_code ==  0  ))
+ break
+ unset unmounting_attempts
+ echo 'Compressing disk image...'
Compressing disk image...
+ hdiutil convert /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg -format UDZO -imagekey zlib-level=9 -o /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app_1.0.0_x64.dmg
Preparing imaging engine…
Reading Protective Master Boot Record (MBR : 0)…
   (CRC32 $71E9C1C0: Protective Master Boot Record (MBR : 0))
Reading GPT Header (Primary GPT Header : 1)…
   (CRC32 $4123CFB9: GPT Header (Primary GPT Header : 1))
Reading GPT Partition Data (Primary GPT Table : 2)…
   (CRC32 $AF3BD4CA: GPT Partition Data (Primary GPT Table : 2))
Reading  (Apple_Free : 3)…
   (CRC32 $00000000:  (Apple_Free : 3))
Reading disk image (Apple_HFS : 4)…
   (CRC32 $27E69A4C: disk image (Apple_HFS : 4))
Reading  (Apple_Free : 5)…
   (CRC32 $00000000:  (Apple_Free : 5))
Reading GPT Partition Data (Backup GPT Table : 6)…
   (CRC32 $AF3BD4CA: GPT Partition Data (Backup GPT Table : 6))
Reading GPT Header (Backup GPT Header : 7)…
   (CRC32 $F06A1498: GPT Header (Backup GPT Header : 7))
Adding resources…
Elapsed Time:  2.101s
File size: 5623415 bytes, Checksum: CRC32 $89391426
Sectors processed: 71756, 24764 compressed
Speed: 5.8Mbytes/sec
Savings: 84.7%
created: /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app_1.0.0_x64.dmg
+ rm -f /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/rw.tauri-app_1.0.0_x64.dmg
+ [[ -n '' ]]
+ [[ -n '' ]]
+ hdiutil internet-enable -help
+ hdiutil internet-enable -yes /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app_1.0.0_x64.dmg
hdiutil: internet-enable: enable succeeded
+ echo 'Disk image done'
+ exit 0
Disk image done
     Signing [tauri_bundler::bundle::macos::sign] /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/tauri-app_1.0.0_x64.dmg with identity "Developer ID Application: xxx"
        Info [tauri_bundler::bundle::macos::sign] using entitlements file at entitlements.mac.plist
     Running [tauri_bundler::bundle::common] Command `codesign  --force -s Developer ID Application: xxx --entitlements entitlements.mac.plist /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/tauri-app_1.0.0_x64.dmg`
    Bundling [tauri_bundler::bundle::updater_bundle] /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app.tar.gz (/Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app.tar.gz)
    Finished [tauri_bundler::bundle] 3 bundles at:
        /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app
        /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/dmg/tauri-app_1.0.0_x64.dmg
        /Users/soon/projects/tauri-app/src-tauri/target/release/bundle/macos/tauri-app.app.tar.gz (updater)

I will make a PR to the tauri-docs later, thank you again!

@lucasfernog
Copy link
Member

Thank you for helping me debug this! ❤️

JSoon added a commit to JSoon/tauri-docs that referenced this issue Jul 5, 2022
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](tauri-apps/tauri#4549).
FabianLars added a commit to tauri-apps/tauri-docs that referenced this issue Sep 6, 2022
* 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](tauri-apps/tauri#4549).

* Update docs/guides/distribution/sign-macos.md

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>

* Update docs/guides/distribution/sign-macos.md

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>

* Update docs/guides/distribution/sign-macos.md

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.studio>
Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants