-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (34 loc) · 1006 Bytes
/
Copy pathbuild.yml
File metadata and controls
44 lines (34 loc) · 1006 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Build App
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Create xcconfig files
run: |
# Debug.xcconfig 생성
touch Common.xcconfig
echo "✅ xcconfig files created"
- name: Build project
run: |
# .xcodeproj 파일 찾기
PROJECT=$(find . -maxdepth 2 -name "*.xcodeproj")
SCHEME=$(basename "$PROJECT" .xcodeproj)
echo "Found Project: $PROJECT"
echo "Found Scheme: $SCHEME"
xcodebuild -project "$PROJECT" \
-scheme "$SCHEME" \
-configuration Debug \
-skipMacroValidation \
-destination "platform=iOS Simulator,name=iPhone 16 Pro,OS=26.2" \
clean build