Skip to content

Commit f11f20b

Browse files
committed
Set XCode SDK version
1 parent e6c8beb commit f11f20b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/app_build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
# BINARY_PKG_PATH: _CPack_Packages/Darwin/IFW
9797
# COMPRESSED_PKG_PATH: _CPack_Packages/Darwin/TGZ
9898
# MACOSX_DEPLOYMENT_TARGET: 11.0
99-
# SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
99+
# SDKROOT: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
100100
# QT_OS_NAME: mac
101101
# QT_ARCH: clang_64
102102
- os: macos-arm64
@@ -111,7 +111,7 @@ jobs:
111111
BINARY_PKG_PATH: _CPack_Packages/Darwin/IFW
112112
COMPRESSED_PKG_PATH: _CPack_Packages/Darwin/TGZ
113113
MACOSX_DEPLOYMENT_TARGET: 12.1
114-
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
114+
SDKROOT: /Applications/Xcode_15.0.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
115115
QT_OS_NAME: mac
116116
QT_ARCH: arm_64
117117

@@ -214,6 +214,9 @@ jobs:
214214
echo "Using previously installed ninja and IFW"
215215
echo "/Users/irvinemac/Qt/Tools/QtInstallerFramework/4.3/bin/" >> $GITHUB_PATH
216216
else
217+
echo "Setting Xcode version"
218+
sudo xcode-select -s "/Applications/Xcode_15.0.1.app/Contents/Developer/"
219+
217220
echo "Using brew to install ninja"
218221
brew install ninja md5sha1sum ccache
219222

0 commit comments

Comments
 (0)