From 0c7fb05a51699d4957d9bfb20cf2d954015e3f5b Mon Sep 17 00:00:00 2001 From: edgchen1 <18449977+edgchen1@users.noreply.github.com> Date: Mon, 14 Oct 2024 12:33:46 -0700 Subject: [PATCH] update macos image version, xcode, and simulator target --- ci_build/azure_pipelines/mobile-examples-pipeline.yml | 2 +- .../azure_pipelines/templates/xcode-build-and-test-step.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci_build/azure_pipelines/mobile-examples-pipeline.yml b/ci_build/azure_pipelines/mobile-examples-pipeline.yml index c833dc57b..338655636 100644 --- a/ci_build/azure_pipelines/mobile-examples-pipeline.yml +++ b/ci_build/azure_pipelines/mobile-examples-pipeline.yml @@ -8,7 +8,7 @@ variables: - name: AndroidTestAgentPool value: "onnxruntime-Ubuntu2204-AMD-CPU" - name: IosTestAgentVmImage - value: "macOS-12" + value: "macOS-14" stages: - stage: ProcessParameters diff --git a/ci_build/azure_pipelines/templates/xcode-build-and-test-step.yml b/ci_build/azure_pipelines/templates/xcode-build-and-test-step.yml index ff837e6e1..54a6e00e1 100644 --- a/ci_build/azure_pipelines/templates/xcode-build-and-test-step.yml +++ b/ci_build/azure_pipelines/templates/xcode-build-and-test-step.yml @@ -16,11 +16,11 @@ steps: xcWorkspacePath: '${{ parameters.xcWorkspacePath }}' scheme: '${{ parameters.scheme }}' xcodeVersion: 'specifyPath' - xcodeDeveloperDir: '/Applications/Xcode_14.2.app/Contents/Developer' + xcodeDeveloperDir: '/Applications/Xcode_15.4.app/Contents/Developer' packageApp: false destinationPlatformOption: 'iOS' destinationTypeOption: 'simulators' - destinationSimulators: 'iPhone 8' + destinationSimulators: 'iPhone 15' ${{ if ne(parameters.args, '') }}: args: ${{ parameters.args }} displayName: "Xcode build and test"