try to see apple providers

This commit is contained in:
Anton Keks 2020-03-12 22:22:40 +02:00
parent 166dac5958
commit 4e95ebfc78

View File

@ -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")