diff --git a/.github/workflows/fastlane-tests.yml b/.github/workflows/fastlane-tests.yml index f2eb3ccbf..0ca07fca0 100644 --- a/.github/workflows/fastlane-tests.yml +++ b/.github/workflows/fastlane-tests.yml @@ -9,7 +9,7 @@ concurrency: jobs: build: - runs-on: macos-14 + runs-on: macos-15 steps: - uses: maxim-lobanov/setup-xcode@v1 diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 6f33dbbc9..1652feac4 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -24,15 +24,25 @@ platform :ios do ) end lane :ci do + sh("xcrun simctl list devices") + sleep 1 + sh("xcrun simctl delete all") - sh("xcrun simctl create Test-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-15 com.apple.CoreSimulator.SimRuntime.iOS-17-2") + sleep 5 + + sh("xcrun simctl list devicetypes") + sh("xcrun simctl list runtimes") + + sh("xcrun simctl create Test-iPhone com.apple.CoreSimulator.SimDeviceType.iPhone-16-Pro com.apple.CoreSimulator.SimRuntime.iOS-18-0") + sleep 5 + sh("xcrun simctl list devices") + run_tests( scheme: "BeeSwift", reset_simulator: true, include_simulator_logs: true, buildlog_path: "fastlane/test_output", xcodebuild_formatter: "xcpretty", - devices: ["Test-iPhone"], ensure_devices_found: true, ) end