From 4e95ebfc78b4ebdd7fbc80132073b54c4e82a626 Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Thu, 12 Mar 2020 22:22:40 +0200 Subject: [PATCH] try to see apple providers --- build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 0f575d24..d7cc1fb8 100644 --- a/build.gradle +++ b/build.gradle @@ -235,6 +235,14 @@ packageTask('mac', [], []) { // TODO: codesign --sign Example --options runtime --entitlements test/test.entitlements --force build/Release/test.app // TODO: https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow println("Sending zip file to Apple for notarization") + ant.exec(executable: "xcrun") { + ant.arg(value: "altool") + ant.arg(value: "--list-providers") + ant.arg(value: "--username") + ant.arg(value: System.getenv("APPLE_USER")) + ant.arg(value: "--password") + ant.arg(value: System.getenv("APPLE_PASSWORD")) + } ant.exec(executable: "xcrun") { ant.arg(value: "altool") ant.arg(value: "--notarize-app")