Skip to content

Commit f9504ea

Browse files
committed
feat: drop react-native-spm-prefix.h
1 parent c054bdc commit f9504ea

5 files changed

Lines changed: 7 additions & 12 deletions

File tree

Package.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,8 @@ let headerSearchPaths: [String] = [
2121
".",
2222
]
2323

24-
let cSettings: [CSetting] = headerSearchPaths.map { .headerSearchPath($0) } + [
25-
.unsafeFlags(["-include", "react-native-spm-prefix.h"]),
26-
]
27-
24+
let cSettings: [CSetting] = headerSearchPaths.map { .headerSearchPath($0) }
2825
let cxxSettings: [CXXSetting] = headerSearchPaths.map { .headerSearchPath($0) } + [
29-
.unsafeFlags(["-include", "react-native-spm-prefix.h"]),
3026
.define("DEBUG", .when(configuration: .debug)),
3127
.define("NDEBUG", .when(configuration: .release)),
3228
]
@@ -51,6 +47,8 @@ let package = Package(
5147
"android",
5248
"lib",
5349
"src",
50+
"apps",
51+
"docs",
5452
],
5553
sources: [
5654
"cpp/GumboParser",

ios/utils/TextBlockTapGestureRecognizer.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#import <UIKit/UIKit.h>
2+
13
typedef NS_ENUM(NSInteger, TextBlockTapKind) {
24
TextBlockTapKindNone = 0,
35
TextBlockTapKindCheckbox,

ios/utils/WeakBox.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#import <Foundation/Foundation.h>
2+
13
@interface WeakBox : NSObject
24
@property(nonatomic, weak) id value;
35
@end

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"ios",
3030
"cpp",
3131
"Package.swift",
32-
"react-native-spm-prefix.h",
3332
"*.podspec",
3433
"react-native.config.js",
3534
"!ios/build",

react-native-spm-prefix.h

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)