Skip to content

Commit

Permalink
Specify iOS simulator version. (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgchen1 authored Oct 24, 2024
1 parent e00e0dc commit f35bed1
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@ steps:
packageApp: false
destinationPlatformOption: 'iOS'
destinationTypeOption: 'simulators'
destinationSimulators: 'iPhone 15'
# Note: The simulator version should be compatible with the Xcode version.
# Refer to the table here: https://developer.apple.com/support/xcode/
# Pick a simulator version that is supported by the Xcode version.
#
# Xcode version: "/Applications/Xcode_<version>.app/Contents/Developer" in xcodeDeveloperDir
# Simulator version: "OS=<version>" in destinationSimulators
destinationSimulators: 'iPhone 15,OS=17.5'
${{ if ne(parameters.args, '') }}:
args: ${{ parameters.args }}
displayName: "Xcode build and test"

0 comments on commit f35bed1

Please sign in to comment.