Skip to content

Commit ed8472b

Browse files
committed
fix: mac notarization
1 parent 955970f commit ed8472b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ env NODE_ENV="development" npm run watch
2828
env NODE_ENV="development" npm start
2929
```
3030

31-
## macOS Code Signing
31+
## macOS Code Signing and Notarization
3232

3333
In order to sign the app for macOS App Store, you need to:
3434

3535
- import the developer CSAs (Worldwide Developer Relations, Developer ID) from https://www.apple.com/certificateauthority/
3636
- import "Developer ID Application:" from Certificates page in Apple Developer portal
3737
- download QuickDAV-Distribute profile from Apple Developer portal and place in this directory
38-
- create `.env` file with `APPLEID` and `APPLEIDPASS` (an app specific password from https://appleid.apple.com/account/manage).
38+
- create `.env` file with `APPLEID` and `APPLEIDPASS` (an app specific password from https://appleid.apple.com/account/manage) and `TEAMID` (from https://developer.apple.com/account#MembershipDetailsCard).
39+
40+
To verify the app was notarized correctly:
41+
42+
- `spctl --assess -vv --type install dist/mac-universal/QuickDAV.app`
3943

4044
# License
4145

build/notarize.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@ exports.default = async function notarizing(context) {
1414
appPath: `${appOutDir}/${appName}.app`,
1515
appleId: process.env.APPLEID,
1616
appleIdPassword: process.env.APPLEIDPASS,
17+
teamId: process.env.TEAMID,
18+
tool: 'notarytool',
1719
});
1820
};

0 commit comments

Comments
 (0)