Skip to content

Commit

Permalink
Update ios.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergdort committed Feb 10, 2025
1 parent 972b8e5 commit 76681b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -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 [email protected]
- 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'
2 changes: 1 addition & 1 deletion Tuist/Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.9
// swift-tools-version: 6.0
import PackageDescription

#if TUIST
Expand Down

0 comments on commit 76681b4

Please sign in to comment.