fix(ci): disable code signing — Mac runner has no Apple Developer account
STOPGAP: CODE_SIGN_IDENTITY="-" CODE_SIGNING_REQUIRED=NO to bypass signing on the Mac CI runner which has no Apple account signed into Xcode. REAL FIX: Sign into Xcode → Settings → Accounts with the Apple Developer account on the Mac runner machine. Then -allowProvisioningUpdates + DEVELOPMENT_TEAM will auto-provision profiles for any bundle IDs.
This commit is contained in:
@@ -85,6 +85,19 @@ jobs:
|
||||
-project TabataGo.xcodeproj \
|
||||
-scmProvider system
|
||||
|
||||
# STOPGAP — The Mac CI runner has no Apple Developer account signed into
|
||||
# Xcode, so provisioning profiles for bundle IDs like
|
||||
# fr.millianlmx.tabatago.* can't be auto-created. This bypasses code
|
||||
# signing entirely so the build succeeds. The resulting .app will NOT
|
||||
# install on physical devices without manual re-signing.
|
||||
#
|
||||
# REAL FIX (manual, one-time, on the Mac runner):
|
||||
# 1. Open Xcode → Settings → Accounts → sign in with the Apple
|
||||
# Developer account.
|
||||
# 2. After that, remove CODE_SIGN_IDENTITY="-" and
|
||||
# CODE_SIGNING_REQUIRED=NO below, and
|
||||
# -allowProvisioningUpdates + DEVELOPMENT_TEAM will auto-provision
|
||||
# profiles for any new bundle IDs.
|
||||
- name: Build app
|
||||
run: |
|
||||
cd tabatago-swift
|
||||
@@ -99,7 +112,9 @@ jobs:
|
||||
-clonedSourcePackagesDirPath ../build/spm-cache \
|
||||
SWIFT_ENABLE_EXPLICIT_MODULES=NO \
|
||||
ONLY_ACTIVE_ARCH=NO \
|
||||
CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM=2MJF39L8VY
|
||||
CODE_SIGN_IDENTITY="-" \
|
||||
CODE_SIGNING_REQUIRED=NO \
|
||||
DEVELOPMENT_TEAM=2MJF39L8VY
|
||||
|
||||
- name: Package IPA
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user