-
-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Print notarization log on failure #1472
Comments
Agreed that this sounds like a worthwhile addition. In terms of implementation - I think you've found the right location for the code; the complication will be extracting the job ID so it can be passed into the request. |
Yep. I think that a smaller improvement, just mentioning in the error message that |
@wiktor-k Those pyside6 errors look unfortunately familiar, and this is probably a separate issue, but did you manage to address those and successfully sign & notarize that app? c.f. glyph/Encrust#7 — I am wondering if I need to pile more horrible hacks into my own tool or if briefcase has already figured out the correct technique here. |
Retrying the process got me a signed and notarized app. I don't think the second try ever failed but I'm not 100% sure. I'm actually super curious why notarization considers the binary unsigned (as evidenced by the log I attached) even though I'm sure briefcase signed it before notarization but sadly I don't have that much time to debug it in detail 😞 |
Briefcase is a bit more thorough about its discovery of which files to sign, so it should have caught this) but Qt is doing something weird that makes the usual code-signing process break. |
Working on this at Pycon 2024 |
An additional feature related to this - notarisation can take a long time to complete; if Briefcase is interrupted, you essentially need to start from scratch. It would be desirable to be able to "resume" a previous notarisation if it is canceled mid-run. |
What is the problem or limitation you are having?
When notarization fails it's not clear what went wrong.
Describe the solution you'd like
Automatically fetch the notarization log (e.g.
xcrun notarytool log 7d9249fb-f9ac-4bb1-b296-256ebabff66b --apple-id ... --team-id ...
) and display to the user.Describe alternatives you've considered
Display a help message on notarization error printing the command the the user can run to learn more.
Additional context
Just for the record a sample log:
For the record I think the change should be somewhere around here. Submission errors are not the only ones that can trigger failure.
The text was updated successfully, but these errors were encountered: