Skip to content

Commit 9d0ea77

Browse files
Claudeclaude
andcommitted
ci(ios): fix exportArchive signing by specifying manual signing style
The CI runner has no Apple account, so exportArchive fails with "Failed to Use Accounts". Fix by explicitly specifying manual signing with the provisioning profile UUID in ExportOptions.plist. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 332aa5c commit 9d0ea77

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/ios-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,15 @@ jobs:
110110
111111
- name: Export IPA
112112
run: |
113+
EXPORT_PLIST="$RUNNER_TEMP/ExportOptions.plist"
114+
sed "s/PROVISIONING_PROFILE_UUID_PLACEHOLDER/$PROVISIONING_PROFILE_UUID/" \
115+
app/ios/ExportOptions.plist > "$EXPORT_PLIST"
116+
113117
xcodebuild -exportArchive \
114118
-archivePath "$RUNNER_TEMP/FareBot.xcarchive" \
115119
-exportPath "$RUNNER_TEMP/export" \
116-
-exportOptionsPlist app/ios/ExportOptions.plist
120+
-exportOptionsPlist "$EXPORT_PLIST" \
121+
-allowProvisioningUpdates
117122
118123
- name: Install fastlane
119124
run: brew install fastlane

app/ios/ExportOptions.plist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
<string>app-store-connect</string>
88
<key>teamID</key>
99
<string>ZJ9GEQ36AH</string>
10+
<key>signingStyle</key>
11+
<string>manual</string>
12+
<key>signingCertificate</key>
13+
<string>Apple Distribution</string>
14+
<key>provisioningProfiles</key>
15+
<dict>
16+
<key>com.codebutler.farebot</key>
17+
<string>PROVISIONING_PROFILE_UUID_PLACEHOLDER</string>
18+
</dict>
1019
<key>uploadSymbols</key>
1120
<true/>
1221
<key>destination</key>

0 commit comments

Comments
 (0)