Skip to content

Commit 5a09e8e

Browse files
committed
Fix build
1 parent 07104dd commit 5a09e8e

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

packages/core/ios/SentryScreenFramesWrapper.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#import <Foundation/Foundation.h>
22

3+
#if TARGET_OS_IPHONE || TARGET_OS_MACCATALYST
4+
35
@interface SentryScreenFramesWrapper : NSObject
46

57
+ (BOOL)canTrackFrames;
@@ -8,3 +10,5 @@
810
+ (NSNumber *)slowFrames;
911

1012
@end
13+
14+
#endif // TARGET_OS_IPHONE || TARGET_OS_MACCATALYST

packages/core/ios/SentryScreenFramesWrapper.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#import "SentryScreenFramesWrapper.h"
22
@import Sentry;
33

4+
#if TARGET_OS_IPHONE || TARGET_OS_MACCATALYST
5+
46
@implementation SentryScreenFramesWrapper
57

68
+ (BOOL)canTrackFrames
@@ -33,3 +35,5 @@ + (NSNumber *)slowFrames
3335
}
3436

3537
@end
38+
39+
#endif // TARGET_OS_IPHONE || TARGET_OS_MACCATALYST

0 commit comments

Comments
 (0)