1414 matrix :
1515 include :
1616 - xcode_version : ' 16.2'
17- ios_name : ' iPhone 15 Pro '
18- os_version : ' 17.5 '
17+ ios_name : ' iPhone 15'
18+ os_version : ' 17.2 '
1919
2020 steps :
2121 - name : Checkout repository
5151 xcrun simctl list devices
5252 echo "Available runtimes:"
5353 xcrun simctl list runtimes
54+ echo "Available destinations for scheme:"
55+ xcodebuild -workspace Example/Cloudinary.xcworkspace -scheme travis_public_scheme -showdestinations
5456
5557 - name : Install Pods
5658 working-directory : Example
@@ -61,15 +63,15 @@ jobs:
6163 xcodebuild build-for-testing \
6264 -workspace Example/Cloudinary.xcworkspace \
6365 -scheme travis_public_scheme \
64- -destination "platform=iOS Simulator,OS=${{ matrix.os_version }}, name=${{ matrix.ios_name }}" \
66+ -destination "platform=iOS Simulator,name=${{ matrix.ios_name }}" \
6567 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
6668
6769 - name : Run Tests
6870 run : |
6971 xcodebuild test-without-building \
7072 -workspace Example/Cloudinary.xcworkspace \
7173 -scheme travis_public_scheme \
72- -destination "platform=iOS Simulator,OS=${{ matrix.os_version }}, name=${{ matrix.ios_name }}" \
74+ -destination "platform=iOS Simulator,name=${{ matrix.ios_name }}" \
7375 CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
7476
7577 - name : Notify on Failure
0 commit comments