From 4b7548501a56b9268f9ffcc7c7a049432e66970f Mon Sep 17 00:00:00 2001 From: millianlmx Date: Sat, 27 Jun 2026 20:23:56 +0000 Subject: [PATCH] =?UTF-8?q?fix(ci):=20disable=20code=20signing=20=E2=80=94?= =?UTF-8?q?=20Mac=20runner=20has=20no=20Apple=20Developer=20account?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .gitea/workflows/pr-iphone-deploy.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/pr-iphone-deploy.yml b/.gitea/workflows/pr-iphone-deploy.yml index 344d451..f82e0e2 100644 --- a/.gitea/workflows/pr-iphone-deploy.yml +++ b/.gitea/workflows/pr-iphone-deploy.yml @@ -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: |