From 57cc89872e31a1f6b0fdfbbc404d51e687c1dc6a Mon Sep 17 00:00:00 2001 From: Ioannis J Date: Thu, 5 Dec 2024 09:01:45 +0200 Subject: [PATCH] fix: build --- PostHog/Autocapture/UIView+PostHogLabel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PostHog/Autocapture/UIView+PostHogLabel.swift b/PostHog/Autocapture/UIView+PostHogLabel.swift index c06d099e0..3f47d5629 100644 --- a/PostHog/Autocapture/UIView+PostHogLabel.swift +++ b/PostHog/Autocapture/UIView+PostHogLabel.swift @@ -5,7 +5,7 @@ // Created by Yiannis Josephides on 04/12/2024. // -#if canImport(UIKit) +#if os(iOS) || targetEnvironment(macCatalyst) import UIKit public extension UIView {