Skip to content

Commit 2911760

Browse files
authored
fix build crash after merge (#4237)
Fix framework build
1 parent e80771f commit 2911760

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Sentry/Public/SentrySDK.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ SENTRY_NO_INIT
334334
*/
335335
+ (void)close;
336336

337-
#if SENTRY_HAS_UIKIT
337+
#if SENTRY_TARGET_REPLAY_SUPPORTED
338338

339339
/**
340340
* @warning This is an experimental feature and may still have bugs.

Sources/Sentry/SentrySDK.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ + (void)stopProfiler
571571
}
572572
#endif // SENTRY_TARGET_PROFILING_SUPPORTED
573573

574-
#if SENTRY_HAS_UIKIT
574+
#if SENTRY_TARGET_REPLAY_SUPPORTED
575575
+ (void)replayRedactView:(UIView *)view
576576
{
577577
[SentryRedactViewHelper redactView:view];

0 commit comments

Comments
 (0)