Skip to content

Commit f35bed1

Browse files
authored
Specify iOS simulator version. (#483)
1 parent e00e0dc commit f35bed1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci_build/azure_pipelines/templates/xcode-build-and-test-step.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,13 @@ steps:
2020
packageApp: false
2121
destinationPlatformOption: 'iOS'
2222
destinationTypeOption: 'simulators'
23-
destinationSimulators: 'iPhone 15'
23+
# Note: The simulator version should be compatible with the Xcode version.
24+
# Refer to the table here: https://developer.apple.com/support/xcode/
25+
# Pick a simulator version that is supported by the Xcode version.
26+
#
27+
# Xcode version: "/Applications/Xcode_<version>.app/Contents/Developer" in xcodeDeveloperDir
28+
# Simulator version: "OS=<version>" in destinationSimulators
29+
destinationSimulators: 'iPhone 15,OS=17.5'
2430
${{ if ne(parameters.args, '') }}:
2531
args: ${{ parameters.args }}
2632
displayName: "Xcode build and test"

0 commit comments

Comments
 (0)