Skip to content

Commit 0f7738b

Browse files
committed
Update ios.yml
1 parent 972b8e5 commit 0f7738b

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.github/workflows/ios.yml

+12-14
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,32 @@
11
name: iOS Build
22

33
on:
4+
push:
5+
branches: [ "master" ]
46
pull_request:
5-
branches:
6-
- master
7+
branches: [ "master" ]
78

89
jobs:
910
build:
1011
runs-on: macos-latest
11-
1212
steps:
13+
- uses: maxim-lobanov/setup-xcode@v1
14+
with:
15+
xcode-version: '16.1.0'
16+
1317
- name: Checkout repository
1418
uses: actions/checkout@v4
1519

1620
- name: Install Tuist
1721
run: |
18-
mise install tuist
22+
brew tap tuist/tuist
23+
brew install --formula [email protected]
1924
20-
- name: Generate Project with Tuist
25+
- name: Tuist Install
2126
run: |
2227
tuist install
23-
tuist generate
24-
25-
- name: Select Xcode version
26-
run: sudo xcode-select -switch /Applications/Xcode.app
2728
2829
- name: Build iOS App
2930
run: |
30-
xcodebuild build \
31-
-workspace ModernCleanArchtecture.xcworkspace \
32-
-scheme Example \
33-
-configuration Debug \
34-
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest'
31+
tuist build Example --generate --platform iOS
32+

Tuist/Package.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.9
1+
// swift-tools-version: 6.0
22
import PackageDescription
33

44
#if TUIST

0 commit comments

Comments
 (0)