From a513186424bb5446666fc8501b955d1c4fb6290d Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Thu, 16 Jul 2026 18:53:39 +0200 Subject: [PATCH] fix(apple/M3): reach shared Activity types via PunktfunkKit re-export MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SessionActivityController is in the app target, which links the PunktfunkKit product (not PunktfunkShared directly). Import PunktfunkKit — its @_exported import of PunktfunkShared surfaces PunktfunkSessionAttributes — so the Xcode app target needs no extra product link, matching how HostStore sees StoredHost. Co-Authored-By: Claude Opus 4.8 (1M context) --- .../PunktfunkClient/Session/SessionActivityController.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clients/apple/Sources/PunktfunkClient/Session/SessionActivityController.swift b/clients/apple/Sources/PunktfunkClient/Session/SessionActivityController.swift index 85c9cef4..ee9680c0 100644 --- a/clients/apple/Sources/PunktfunkClient/Session/SessionActivityController.swift +++ b/clients/apple/Sources/PunktfunkClient/Session/SessionActivityController.swift @@ -9,7 +9,9 @@ #if os(iOS) import ActivityKit import Foundation -import PunktfunkShared +// PunktfunkKit re-exports PunktfunkShared (@_exported), so the app target sees PunktfunkSessionAttributes +// without linking the Shared product directly — same pattern as StoredHost in HostStore. +import PunktfunkKit @MainActor final class SessionActivityController {