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"