-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (32 loc) · 909 Bytes
/
Copy pathbuild.yml
File metadata and controls
40 lines (32 loc) · 909 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
name: Build iOS App via XcodeGen
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Install XcodeGen
run: brew install xcodegen
- name: Generate Xcode Project
run: xcodegen generate
- name: Build Archive (.xcarchive)
run: |
xcodebuild -scheme MyTesla \
-configuration Release \
-archivePath MyTesla.xcarchive \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_ALLOWED="NO" \
archive
- name: Export .ipa (Unsigned)
run: |
xcodebuild -exportArchive \
-archivePath MyTesla.xcarchive \
-exportPath . \
-exportOptionsPlist ExportOptions.plist \
CODE_SIGNING_ALLOWED="NO"
- name: Upload IPA Artifact
uses: actions/upload-artifact@v4
with:
name: MyTesla-unsigned
path: MyTesla.ipa