Skip to content

Commit

Permalink
Merge pull request beeware#1825 from ethompsy/ISSUE-1472
Browse files Browse the repository at this point in the history
ISSUE-1472: Added xcrun debugging tips to error message for failed signing attempts
  • Loading branch information
freakboy3742 authored May 26, 2024
2 parents 1cbcff3 + f4e93a0 commit 85b1b82
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/1472.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added xcrun debugging tips to error message for failed signing attempts
13 changes: 12 additions & 1 deletion src/briefcase/platforms/macOS/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,18 @@ def notarize(self, filename, team_id):
store_credentials = True
else:
raise BriefcaseCommandError(
f"Unable to submit {filename.relative_to(self.base_path)} for notarization."
f"""\
Unable to submit {filename.relative_to(self.base_path)} for notarization.
To find the cause of this failure, get the submission ID by running:
xcrun notarytool history
Then run:
xcrun notarytool log <submission-id>
to generate a full log of the error.
"""
) from e
finally:
# Clean up house; we don't need the archive anymore.
Expand Down

0 comments on commit 85b1b82

Please sign in to comment.