diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f3dbdb0..5a0551c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,20 +9,22 @@ on: jobs: build: name: Build and Test - runs-on: macos-latest + runs-on: macos-13 # Используем macOS 13 (Ventura) steps: - uses: actions/checkout@v4 - - name: Select Xcode - run: sudo xcode-select -switch /Applications/Xcode.app + - name: Set up Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '15.0' # Укажите вашу версию Xcode - name: Build and Test run: | xcodebuild clean test \ -project Coinly.xcodeproj \ -scheme Coinly \ - -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' \ + -destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0' \ CODE_SIGN_IDENTITY="" \ CODE_SIGNING_REQUIRED=NO \ CODE_SIGNING_ALLOWED=NO