Skip to content

Commit 0f6cffc

Browse files
authored
Fix iOS packaging pipeline (#26426)
### Description <!-- Describe your changes. --> Change Xcode version from 16.4 to 16.2, according to what's available on the build agent image. Adjust casing in `xcodebuild -destination` argument. ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Fix iOS packaging pipeline issues.
1 parent 852f090 commit 0f6cffc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/ci_build/github/apple/test_apple_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def _test_apple_packages(args):
206206
"-scheme",
207207
"macos_package_test",
208208
"-destination",
209-
"platform=macos",
209+
"platform=macOS",
210210
],
211211
shell=False,
212212
check=True,

tools/ci_build/github/azure-pipelines/templates/stages/mac-ios-packaging-build-stage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ stages:
1717
# Note: Keep the Xcode version and iOS simulator version compatible.
1818
# Check the table here to see what iOS simulator versions are supported by a particular Xcode version:
1919
# https://developer.apple.com/support/xcode/
20-
xcodeVersion: "16.4"
21-
iosSimulatorRuntimeVersion: "18.5"
20+
xcodeVersion: "16.2"
21+
iosSimulatorRuntimeVersion: "18.2"
2222
buildSettingsFile: "tools/ci_build/github/apple/default_full_apple_framework_build_settings.json"
2323
cPodName: onnxruntime-c
2424
objcPodName: onnxruntime-objc

0 commit comments

Comments
 (0)