From 4d02f0f4165872b01be102dae8ff3d79b206412d Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 5 Dec 2023 22:37:27 +0900 Subject: [PATCH] Add APPLE_TEAM_ID --- Build/CI/applesign.md | 2 +- Build/CI/applesign.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Build/CI/applesign.md b/Build/CI/applesign.md index 79c2c71..aa5d84b 100755 --- a/Build/CI/applesign.md +++ b/Build/CI/applesign.md @@ -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: diff --git a/Build/CI/applesign.sh b/Build/CI/applesign.sh index 21f9cdb..c5905e8 100755 --- a/Build/CI/applesign.sh +++ b/Build/CI/applesign.sh @@ -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"