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: |