|
6 | 6 | i18nReady: true
|
7 | 7 | ---
|
8 | 8 |
|
| 9 | +import { Tabs, TabItem } from '@astrojs/starlight/components'; |
| 10 | + |
9 | 11 | 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.
|
10 | 12 |
|
11 | 13 | ## Prerequisites
|
@@ -158,24 +160,30 @@ jobs:
|
158 | 160 |
|
159 | 161 | ## Notarization
|
160 | 162 |
|
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. |
169 | 164 |
|
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> |
171 | 173 |
|
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> |
173 | 180 |
|
174 | 181 | :::note
|
175 | 182 | Notarization is required when using a _Developer ID Application_ certificate.
|
176 | 183 | :::
|
177 | 184 |
|
178 | 185 | [Certificates]: https://developer.apple.com/account/resources/certificates/list
|
| 186 | +[membership]: https://developer.apple.com/account#MembershipDetailsCard |
179 | 187 | [Apple Developer]: https://developer.apple.com
|
180 | 188 | [Apple App Store]: https://www.apple.com/app-store/
|
181 | 189 | [App Store Connect's Users and Access page]: https://appstoreconnect.apple.com/access/users
|
|
0 commit comments