Skip to content

Commit 6e20949

Browse files
worker xcode
1 parent dcca879 commit 6e20949

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,24 @@ jobs:
2424
-project tvos-example.xcodeproj \
2525
-scheme tvos-example \
2626
-sdk appletvsimulator \
27-
-configuration Release \
27+
-configuration Debug \
2828
-derivedDataPath build
2929
30+
- name: Archive tvOS App
31+
run: |
32+
xcodebuild archive \
33+
-project tvos-example.xcodeproj \
34+
-scheme tvos-example \
35+
-sdk appletvsimulator \
36+
-configuration Debug \
37+
-archivePath build/tvos-example.xcarchive
38+
3039
- name: Export IPA
3140
run: |
3241
mkdir -p build/ipa
3342
xcodebuild \
3443
-exportArchive \
35-
-archivePath build/Build/Products/Release-appletvsimulator/tvos-example.xcarchive \
44+
-archivePath build/tvos-example.xcarchive \
3645
-exportPath build/ipa \
3746
-exportOptionsPlist ExportOptions.plist
3847
@@ -41,4 +50,3 @@ jobs:
4150
with:
4251
name: tvos-example-ipa
4352
path: build/ipa/tvos-example.ipa
44-

0 commit comments

Comments
 (0)