Skip to content

Commit

Permalink
docs(sign/macos): add FAQ section with keychain certificate trust set…
Browse files Browse the repository at this point in the history
…tings
  • Loading branch information
GillesPl committed Dec 23, 2024
1 parent 74ed007 commit 0cdd6d5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/content/docs/distribute/Sign/macos.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ sidebar:
order: 11
---

import { Image } from 'astro:assets';
import CertificateTrustSettings from '@assets/distribute/sign/keychain-certificate-trust-settings.png';

Code signing is required on macOS to allow your application to be listed in the [Apple App Store] and to prevent a warning that your application is broken and can not be started, when downloaded from the browser.

## Prerequisites
Expand Down Expand Up @@ -173,6 +176,25 @@ To notarize your application, you must provide credentials for Tauri to authenti
Notarization is required when using a _Developer ID Application_ certificate.
:::
## FAQ
### Error during notarization "The signature of the binary is invalid."
When notarizing it makes use of a certificate stored in your Keychain. This certificate has specific trust properties. If you have updated these properties for some reason they can interfere with the siging via the Tauri Bundler.
You can find your certificates in the KeyChain application under the tab "Certificates".
The trust properties of the certificate should be set to "Use System Defaults".
<Image
src={CertificateTrustSettings}
alt="KeyChain Certificate Trust settings"
/>
[Certificates]: https://developer.apple.com/account/resources/certificates/list
[Apple Developer]: https://developer.apple.com
[Apple App Store]: https://www.apple.com/app-store/
Expand Down

0 comments on commit 0cdd6d5

Please sign in to comment.