Skip to content

alinemati-uwm/notarytool-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

notarytool-tutorial

How to use notarytool to code sign

Important First Run Setup

xcrun notarytool store-credentials --apple-id "appleidemail" --team-id "asc-provider"

Example

xcrun notarytool store-credentials --apple-id "[email protected]" --team-id "377KTRNNCY"

Enter a profile name for later

NTProductions

Enter app-specifc password

aaaa-bbbb-cccc-dddd

Upon Success
Validating your credentials...
Success. Credentials validated.
Credentials saved to Keychain.

Notarize is now EZ

xcrun notarytool submit <pathToFile> --keychain-profile "profilename" --wait

Example

xcrun notarytool submit /Users/fromage/Documents/myPlugin/Products/@rpath/My\ WiPlugin.zip --keychain-profile "NTProductions" --wait

Upon Success

Upload progress: 100.00% (22.4 KB of 22.4 KB)   
Successfully uploaded file

Waiting for processing to complete.
Current status: In Progress...

Processing complete
  id: aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
  status: Accepted

Now just staple like usual

xcrun stapler staple <pathToFile>

About

How to use notarytool to code sign

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published