diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index b68550c42..5f5e4ce38 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -18,8 +18,8 @@ jobs: with: xcode-version: '15.1.0' - name: Build iOS - run: xcodebuild -project Demo/Demo.xcodeproj build -sdk iphoneos -allowProvisioningUpdates -scheme 'Demo' + run: xcodebuild -project Demo/Demo.xcodeproj build -sdk iphoneos -allowProvisioningUpdates -scheme 'Demo' -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' - name: Test iOS - run: xcodebuild -project Demo/Demo.xcodeproj test -sdk iphoneos -allowProvisioningUpdates -scheme 'DemoTests' -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=17.2' -enableCodeCoverage YES + run: xcodebuild -project Demo/Demo.xcodeproj test -sdk iphoneos -allowProvisioningUpdates -scheme 'DemoTests' -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.2' -enableCodeCoverage YES