From 76681b44dd071f9e9c17dc5228f9bc738bc1abdc Mon Sep 17 00:00:00 2001 From: sergdort Date: Mon, 10 Feb 2025 22:05:55 +0000 Subject: [PATCH] Update ios.yml --- .github/workflows/ios.yml | 22 ++++++++++++++-------- Tuist/Package.swift | 2 +- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 2d05f99..e9b183f 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -1,34 +1,40 @@ name: iOS Build on: + push: + branches: [ "master" ] pull_request: - branches: - - master + branches: [ "master" ] jobs: build: runs-on: macos-latest - steps: + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: '16.1.0' + - name: Checkout repository uses: actions/checkout@v4 - name: Install Tuist run: | - mise install tuist + brew tap tuist/tuist + brew install --formula tuist@4.16.1 + + - name: Verify Tuist installation + run: | + tuist --help - name: Generate Project with Tuist run: | tuist install tuist generate - - name: Select Xcode version - run: sudo xcode-select -switch /Applications/Xcode.app - - name: Build iOS App run: | xcodebuild build \ -workspace ModernCleanArchtecture.xcworkspace \ -scheme Example \ -configuration Debug \ - -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' + -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' \ No newline at end of file diff --git a/Tuist/Package.swift b/Tuist/Package.swift index 49e28a5..fbabcf5 100644 --- a/Tuist/Package.swift +++ b/Tuist/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.9 +// swift-tools-version: 6.0 import PackageDescription #if TUIST