Don't try and use live activity on mac

This commit is contained in:
Garth Vander Houwen 2026-04-17 20:07:21 -07:00
parent f12cf9978f
commit 89322bedd3

View file

@ -372,7 +372,7 @@ class CarPlaySceneDelegate: UIResponder, CPTemplateApplicationSceneDelegate, CPI
// MARK: - Live Activity
#if canImport(ActivityKit)
#if canImport(ActivityKit) && !targetEnvironment(macCatalyst)
private func startLiveActivityIfNeeded() {
guard ActivityAuthorizationInfo().areActivitiesEnabled else {
Logger.services.info("🚗 [CarPlay] Live Activities not enabled")