Skip to content

Commit 3e4b6b6

Browse files
committed
Fix native tests
1 parent a1b22f7 commit 3e4b6b6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/core/RNSentry.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ Pod::Spec.new do |s|
4747
s.compiler_flags = other_cflags
4848

4949
s.pod_target_xcconfig = {
50-
'DEFINES_MODULE' => 'YES'
50+
'DEFINES_MODULE' => 'YES',
51+
'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES'
5152
}
5253

5354
s.dependency 'Sentry/HybridSDK', '8.58.0'

packages/core/RNSentryCocoaTester/RNSentryCocoaTesterTests/RNSentryCocoaTesterTests-Bridging-Header.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
// Use this file to import your target's public headers that you would like to expose to Swift.
33
//
44

5+
#import <Sentry/Sentry.h>
6+
#import <Sentry/SentryFramesTracker.h>
7+
#import <React/RCTViewManager.h>
8+
59
#import "../RNSentrySDK+Test.h"
610
#import "RNSentryBreadcrumb.h"
711
#import "RNSentryOnDrawReporter+Test.h"

packages/core/RNSentryCocoaTester/RNSentrySDK+Test.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#import "RNSentrySDK.h"
2+
#import <Sentry/Sentry.h>
23

34
@interface RNSentrySDK (Test)
45

0 commit comments

Comments
 (0)