Skip to content

Commit 46fd61e

Browse files
committed
test ios archive signing
1 parent ed7191a commit 46fd61e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/ios-action.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,18 @@ jobs:
106106
PROVISIONING_PROFILE="" \
107107
clean archive
108108
109-
# - name: Export IPA
110-
# env:
111-
# EXPORT_PLIST_B64: ${{ secrets.IOS_EXPORT_PRODUCTION }} # base64 of ExportOptions.plist (method=app-store, signingStyle=manual, provisioningProfiles map)
112-
# run: |
113-
# set -euo pipefail
114-
# EXPORT_PLIST=$RUNNER_TEMP/ExportOptions.plist
115-
# echo -n "$EXPORT_PLIST_B64" | base64 --decode > "$EXPORT_PLIST"
116-
# cd ios/App
117-
# xcodebuild -exportArchive \
118-
# -archivePath "$GITHUB_WORKSPACE/App.xcarchive" \
119-
# -exportOptionsPlist "$EXPORT_PLIST" \
120-
# -exportPath "$RUNNER_TEMP/export"
109+
- name: Export IPA
110+
env:
111+
EXPORT_PLIST_B64: ${{ secrets.IOS_EXPORT_PRODUCTION }}
112+
run: |
113+
set -euo pipefail
114+
EXPORT_PLIST=$RUNNER_TEMP/ExportOptions.plist
115+
echo -n "$EXPORT_PLIST_B64" | base64 --decode > "$EXPORT_PLIST"
116+
cd ios/App
117+
xcodebuild -exportArchive \
118+
-archivePath "$GITHUB_WORKSPACE/App.xcarchive" \
119+
-exportOptionsPlist "$EXPORT_PLIST" \
120+
-exportPath "$RUNNER_TEMP/export"
121121
122122
# - name: Save App Store Connect API key (.p8)
123123
# env:

0 commit comments

Comments
 (0)