From fad4f5d73e5c9fabe098ff58fc6e5adc7e5d8ce8 Mon Sep 17 00:00:00 2001 From: Mike Kasianowicz Date: Mon, 1 Jul 2024 10:47:06 -0500 Subject: [PATCH] Update SentrySwift.h --- Sources/Sentry/include/SentrySwift.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Sources/Sentry/include/SentrySwift.h b/Sources/Sentry/include/SentrySwift.h index 861a37090c8..b832e00eb46 100644 --- a/Sources/Sentry/include/SentrySwift.h +++ b/Sources/Sentry/include/SentrySwift.h @@ -7,10 +7,17 @@ # endif #endif +#ifdef SENTRY_NO_UIKIT +#if __has_include("SentryNoUIKit-Swift.h") +# import "SentryNoUIKit-Swift.h" +#else +# import +#endif +#else #if __has_include("Sentry-Swift.h") # import "Sentry-Swift.h" #else # import #endif - +#endif // SENTRY_NO_UIKIT #endif