Skip to content

Commit fedb06b

Browse files
authored
Use environment variable for iOS SDK version
Updated the iOS SDK version to use an environment variable for flexibility.
1 parent 6b0890d commit fedb06b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ios.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
DEPLOYMENT_TARGET: '16.0'
2626
BUILD_TYPE: 'Release'
2727
TRIPLET: 'arm64-ios'
28+
IOS_SDK: '26.3'
2829

2930
steps:
3031
- name: 🐣 Checkout
@@ -63,14 +64,14 @@ jobs:
6364
uses: maxim-lobanov/setup-xcode@v1.6.0
6465
if: ${{ env.SENTRY_AUTH_TOKEN != '' }}
6566
with:
66-
xcode-version: 26.3
67+
xcode-version: ${{ env.IOS_SDK }}
6768

6869
- name: 🍹 Prepare ios build env
6970
if: ${{ env.SENTRY_AUTH_TOKEN != '' }}
7071
run: |
7172
xcrun simctl list > /dev/null
7273
xcrun simctl runtime list
73-
xcodebuild -downloadPlatform iOS -buildVersion 26.0.1
74+
xcodebuild -downloadPlatform iOS -buildVersion ${{ env.IOS_SDK }} -architectureVariant arm64
7475
brew uninstall cmake
7576
# Workaround GitHub Actions Python issues
7677
brew unlink python && brew link --overwrite python

0 commit comments

Comments
 (0)