diff --git a/eng/pipelines/common/provision.yml b/eng/pipelines/common/provision.yml index b0500dd4672b..af44b97eecec 100644 --- a/eng/pipelines/common/provision.yml +++ b/eng/pipelines/common/provision.yml @@ -86,7 +86,13 @@ steps: xcrun xcode-select --print-path xcodebuild -version sudo xcodebuild -license accept - sudo xcodebuild -downloadPlatform iOS + # if we're using Xcode 26.0[.?], then explicitly install the iOS 26.0 simulator (the iOS 26.0.1 simulator doesn't work for us) + # also install the universal simulator version, so that this bot can run x64 apps in the simulator. + if [[ "$(REQUIRED_XCODE)" =~ ^26[.]0.*$ ]]; then + sudo xcodebuild -downloadPlatform iOS -architectureVariant universal -buildVersion 26.0 + else + sudo xcodebuild -downloadPlatform iOS -architectureVariant universal + fi sudo xcodebuild -runFirstLaunch displayName: Select Xcode Version condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin')) diff --git a/eng/pipelines/common/variables.yml b/eng/pipelines/common/variables.yml index f1ebe091237e..f99dae783df3 100644 --- a/eng/pipelines/common/variables.yml +++ b/eng/pipelines/common/variables.yml @@ -8,9 +8,9 @@ variables: - name: DOTNET_VERSION value: 10.0.100-preview.2.25164.34 - name: REQUIRED_XCODE - value: 26.0.0 + value: 26.0.1 - name: DEVICETESTS_REQUIRED_XCODE - value: 26.0.0 + value: 26.0.1 - name: POWERSHELL_VERSION value: 7.4.0 # Localization variables