From 15233a68cf25a1adba13bea7d3b9c07a64e4ea55 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Fri, 17 Jul 2026 16:19:21 +0200 Subject: [PATCH] ci(release): map the widgets extension to its own App Store provisioning profile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .ipa now embeds PunktfunkWidgetsExtension (io.unom.punktfunk.widgets), a second distribution artifact, so the manual-signing exportArchive must map its App ID to its own App Store profile — without it the export fails with "no profile for io.unom.punktfunk.widgets". Requires the "Punktfunk iOS Widgets App Store Distribution" profile on the runner. Co-Authored-By: Claude Fable 5 --- .gitea/workflows/release.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1d99cc48..47edb0f1 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -316,6 +316,10 @@ jobs: osascript -e 'tell application "Xcode" to quit' >/dev/null 2>&1 || true pkill -x Xcode 2>/dev/null || true PROFILE="Punktfunk iOS App Store Distribution" + # The embedded PunktfunkWidgetsExtension (bundle io.unom.punktfunk.widgets) is a second + # distribution artifact in the .ipa, so manual signing must map its App ID to its own + # App Store profile too — else exportArchive fails ("no profile for io.unom.punktfunk.widgets"). + WIDGET_PROFILE="Punktfunk iOS Widgets App Store Distribution" DEVELOPER_DIR="$XCODE_DEV_DIR" xcodebuild archive \ -project "$PROJECT" -scheme Punktfunk-iOS \ -destination 'generic/platform=iOS' \ @@ -335,7 +339,10 @@ jobs: signingStylemanual signingCertificateApple Distribution provisioningProfiles - io.unom.punktfunk$PROFILE + + io.unom.punktfunk$PROFILE + io.unom.punktfunk.widgets$WIDGET_PROFILE + EOF