File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,14 @@ jobs:
135135 run : |
136136 [[ "${{ matrix.build-type }}" == "production" ]] && CONFIG='Release' || CONFIG='Debug'
137137 echo "Building $CONFIG"
138+
139+ # Set preprocessor flags for dev builds
140+ if [[ "${{ matrix.build-type }}" == "dev" ]]; then
141+ EXTRA_FLAGS="GCC_PREPROCESSOR_DEFINITIONS=\$(inherited) SDK_V9=0"
142+ else
143+ EXTRA_FLAGS=""
144+ fi
145+
138146 mkdir -p "DerivedData"
139147 derivedData="$(cd "DerivedData" ; pwd -P)"
140148 set -o pipefail && xcodebuild \
@@ -145,6 +153,7 @@ jobs:
145153 -destination 'generic/platform=iOS Simulator' \
146154 ONLY_ACTIVE_ARCH=yes \
147155 -derivedDataPath "$derivedData" \
156+ $EXTRA_FLAGS \
148157 build \
149158 | tee xcodebuild.log \
150159 | xcbeautify --quieter --is-ci --disable-colored-output
You can’t perform that action at this time.
0 commit comments