You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+18-7
Original file line number
Diff line number
Diff line change
@@ -147,25 +147,36 @@ await notarize({
147
147
keychainProfile,
148
148
});
149
149
```
150
+
## Troubleshooting
150
151
151
-
##Validating credentials
152
+
### Debug logging
152
153
153
-
When notarizing your application
154
+
[`debug`](https://www.npmjs.com/package/debug) is used to display logs and messages.
155
+
Run your notarization scripts with the `DEBUG=electron-notarize*` environment variable to log additional
156
+
debug information from this module.
157
+
158
+
### Validating credentials
159
+
160
+
When notarizing your application, you may run into issues with validating your notarization
161
+
credentials.
154
162
155
163
```
156
164
Error: HTTP status code: 401. Invalid credentials. Username or password is incorrect.
157
165
Use the app-specific password generated at appleid.apple.com. Ensure that all authentication arguments are correct.
158
166
```
159
167
160
-
## Validating app notarization
168
+
[Storing your credentials in Keychain](#usage-with-keychain-credentials) will validate your credentials before
169
+
even GitHub.
170
+
171
+
### Validating app notarization
161
172
162
173
To validate that notarization worked, you can use the `stapler` command-line utility:
163
174
164
175
```sh
165
176
stapler validate path/to/notarized.app
166
177
```
167
-
## Debug
168
178
169
-
[`debug`](https://www.npmjs.com/package/debug) is used to display logs and messages.
170
-
Run your notarization scripts with the `DEBUG=electron-notarize*` environment variable to log additional
171
-
debug information from this module.
179
+
### Apple documentation
180
+
181
+
Apple also provides additional debugging documentation on
182
+
[Resolving common notarization issues](https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/resolving_common_notarization_issues).
0 commit comments