Skip to content

Commit 623abe3

Browse files
committed
Fix script
1 parent b1fc4a5 commit 623abe3

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/ios-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
include:
1616
- xcode_version: '16.2'
1717
ios_name: 'iPhone 16'
18-
os_version: '18.6'
18+
os_version: '18.4'
1919

2020
steps:
2121
- name: Checkout repository
@@ -45,6 +45,12 @@ jobs:
4545
- name: Clean Derived Data
4646
run: rm -rf ~/Library/Developer/Xcode/DerivedData
4747

48+
- name: List available schemes
49+
working-directory: Example
50+
run: |
51+
echo "Available schemes:"
52+
xcodebuild -workspace Cloudinary.xcworkspace -list
53+
4854
- name: Install Pods
4955
working-directory: Example
5056
run: pod install
@@ -54,15 +60,15 @@ jobs:
5460
xcodebuild build-for-testing \
5561
-workspace Example/Cloudinary.xcworkspace \
5662
-scheme travis_public_scheme \
57-
-destination "platform=iOS Simulator,OS=${{ matrix.os_version }},name=${{ matrix.ios_name }}" \
63+
-destination "platform=iOS Simulator,name=${{ matrix.ios_name }}" \
5864
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
5965
6066
- name: Run Tests
6167
run: |
6268
xcodebuild test-without-building \
6369
-workspace Example/Cloudinary.xcworkspace \
6470
-scheme travis_public_scheme \
65-
-destination "platform=iOS Simulator,OS=${{ matrix.os_version }},name=${{ matrix.ios_name }}" \
71+
-destination "platform=iOS Simulator,name=${{ matrix.ios_name }}" \
6672
CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | xcpretty
6773
6874
- name: Notify on Failure

0 commit comments

Comments
 (0)