Skip to content

Commit e9deb82

Browse files
committed
Reapply "Set SDK_V9=0 in sample app dev build"
This reverts commit d0f56da.
1 parent d0f56da commit e9deb82

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/sample-application.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)