Skip to content

Commit 8cd9d1c

Browse files
authored
Rewords the macos notarization section (#3427)
1 parent 3cfc852 commit 8cd9d1c

File tree

1 file changed

+18
-10
lines changed

1 file changed

+18
-10
lines changed

src/content/docs/distribute/Sign/macos.mdx

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ sidebar:
66
i18nReady: true
77
---
88

9+
import { Tabs, TabItem } from '@astrojs/starlight/components';
10+
911
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.
1012

1113
## Prerequisites
@@ -158,24 +160,30 @@ jobs:
158160
159161
## Notarization
160162
161-
To notarize your application, you must provide credentials for Tauri to authenticate with Apple:
162-
163-
- APPLE_API_ISSUER, APPLE_API_KEY and APPLE_API_KEY_PATH: authenticate using an App Store Connect API key
164-
165-
Open the [App Store Connect's Users and Access page], select the Integrations tab, click on the Add button and select a name and the Developer access.
166-
The APPLE_API_ISSUER (Issuer ID) is presented above the keys table, and the APPLE_API_KEY is the value on the Key ID column on that table.
167-
You also need to download the private key, which can only be done once and is only visible after a page reload (the button is shown on the table row for the newly created key).
168-
The private key file path must be set via the APPLE_API_KEY_PATH environment variable.
163+
To notarize your application, you must provide credentials for Tauri to authenticate with Apple. This can be done via the App Store Connect API, or via your Apple ID.
169164
170-
- APPLE_ID, APPLE_PASSWORD and APPLE_TEAM_ID: authenticate using your Apple ID
165+
<Tabs>
166+
<TabItem label="App Store Connect">
167+
1. Open the [App Store Connect's Users and Access page], select the Integrations tab, click on the Add button and select a name and the Developer access.
168+
2. Set the `APPLE_API_ISSUER` environment variable to the value presented above the keys table.
169+
3. Set the `APPLE_API_KEY` environment variable to the value on the Key ID column on that table.
170+
4. Download the private key, which can only be done once and is only visible after a page reload (the button is shown on the table row for the newly created key).
171+
5. Set the `APPLE_API_KEY_PATH` environment variable to the file path of the downloaded private key.
172+
</TabItem>
171173

172-
Alternatively, to authenticate with your Apple ID, set the APPLE_ID to your Apple account email and the APPLE_PASSWORD to an [app-specific password] for the Apple account.
174+
<TabItem label="Apple ID">
175+
1. Set the `APPLE_ID` environment variable to your Apple account email.
176+
2. Set the `APPLE_PASSWORD` environment variable to an [app-specific password] for your Apple account.
177+
3. Set the `APPLE_TEAM_ID` environment variable to your Apple Team ID. You can find your Team ID in [your account's membership page][membership].
178+
</TabItem>
179+
</Tabs>
173180

174181
:::note
175182
Notarization is required when using a _Developer ID Application_ certificate.
176183
:::
177184

178185
[Certificates]: https://developer.apple.com/account/resources/certificates/list
186+
[membership]: https://developer.apple.com/account#MembershipDetailsCard
179187
[Apple Developer]: https://developer.apple.com
180188
[Apple App Store]: https://www.apple.com/app-store/
181189
[App Store Connect's Users and Access page]: https://appstoreconnect.apple.com/access/users

0 commit comments

Comments
 (0)