Add APPLE_TEAM_ID

This commit is contained in:
nicolas.dorier 2023-12-05 22:37:27 +09:00
parent 9839b6e3c0
commit 4d02f0f416
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ This document how to setup your travis environment so that it can properly sign
At the end of this process, you will have configured `APPLE_DEV_ID_CERT` and `APPLE_DEV_ID_CERT_PASSWORD` to the correct value for travis to sign your MAC application.
You will also need to set `APPLE_ID` and `APPLE_ID_PASSWORD`, using [app-specific password](https://support.apple.com/en-us/HT204397).
You will also need to set `APPLE_ID`, `APPLE_ID_PASSWORD` and `APPLE_TEAM_ID`, using [app-specific password](https://support.apple.com/en-us/HT204397).
## How to
If you are on linux and try to sign with an apple certificate you need to do the following steps:

View File

@ -94,7 +94,7 @@ echo "DMG signed"
echo "Notarize $dmg_file with bundle id $bundle_id"
sudo xcrun notarytool submit --apple-id "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --wait "$dmg_file"
sudo xcrun notarytool submit --apple-id "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --team-id "$APPLE_TEAM_ID" --wait "$dmg_file"
sudo xcrun stapler staple "$dmg_file"