From 4c53e12dd55233113febb99ed3b0059f43f81b15 Mon Sep 17 00:00:00 2001 From: Heikki Halmet Date: Fri, 25 Oct 2019 15:20:53 +0300 Subject: [PATCH] Add allowUntrusted parameter for command line tools and refresh Xcode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apple has signed their packages with certificate which has been expired 24.11.2019. Packages are unusable without allowUntrusted parameter Also Xcode package for macOS10.13 needs to be refetched from Apple's download to local cache Task-number: QTQAINFRA-3317 Change-Id: Iebbe81ee0c360e5f0b49d422b38fe1a148424891 (cherry picked from commit eb0ef419ec91ed580b13d54bf480087b7d33c2e1) Reviewed-by: Tony Sarajärvi --- coin/provisioning/common/macos/install-commandlinetools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/provisioning/common/macos/install-commandlinetools.sh b/coin/provisioning/common/macos/install-commandlinetools.sh index 18ff1036..976373df 100755 --- a/coin/provisioning/common/macos/install-commandlinetools.sh +++ b/coin/provisioning/common/macos/install-commandlinetools.sh @@ -49,7 +49,7 @@ function InstallCommandLineTools { hdiutil attach /tmp/$packageName cd "/Volumes/Command Line Developer Tools" echo "Installing" - sudo installer -verbose -pkg *.pkg -target / + sudo installer -pkg ./*.pkg -target / -allowUntrusted cd / # Let's fait for 5 second before unmounting. Sometimes resource is busy and cant be unmounted sleep 3