Unverified Commit 8be8042f authored by Isuru Fernando's avatar Isuru Fernando Committed by GitHub
Browse files

Merge pull request #392 from isuruf/typo

fix typo
parents 56258b40 f29c07db
......@@ -15,7 +15,7 @@ if [ "$PLAT" == "arm64" ] || [ "$PLAT" == "universal2" ]; then
if [[ "$(check_sdk_11)" == "not found" ]]; then
latestXcode=$(ls /Applications | grep Xcode[_0-9\.]*\.app | sort -V | tail -n 1)
if ([ "$GITHUB_WORKFLOW" != "" ] || [ "$PIPELINE_WORKSPACE" != "" ]) && [ $latestXcode ]; then
sudo xcode-select -switch /Applications/$latestXcode.app
sudo xcode-select -switch /Applications/$latestXcode
fi
if [[ "$(check_sdk_11)" == "not found" ]]; then
echo "Need SDK>=11 for arm64 builds. Please run xcode-select to select a newer SDK"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment