Skip to content

Commit 9265693

Browse files
Make codegen more reliable on iOS
1 parent 9117840 commit 9265693

File tree

6 files changed

+61
-368
lines changed

6 files changed

+61
-368
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ package-lock.json
100100
!/packages/rn-tester/Pods/__offline_mirrors__
101101

102102
# react-native-codegen
103-
/Libraries/FBReactNativeSpec/FBReactNativeSpec
103+
/React/FBReactNativeSpec/FBReactNativeSpec
104104
/packages/react-native-codegen/lib
105105
/ReactCommon/react/renderer/components/rncore/
106106

React-Core.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Pod::Spec.new do |s|
5757
ss.exclude_files = "React/CoreModules/**/*",
5858
"React/DevSupport/**/*",
5959
"React/Fabric/**/*",
60+
"React/FBReactNativeSpec/**/*",
6061
"React/Tests/**/*",
6162
"React/Inspector/**/*"
6263
ss.private_header_files = "React/Cxx*/*.h"

Libraries/FBReactNativeSpec/FBReactNativeSpec.podspec renamed to React/FBReactNativeSpec/FBReactNativeSpec.podspec

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,12 @@ Pod::Spec.new do |s|
3131
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
3232
s.source = source
3333
s.source_files = "**/*.{c,h,m,mm,cpp}"
34-
s.exclude_files = "jni"
3534
s.header_dir = "FBReactNativeSpec"
3635

3736
s.pod_target_xcconfig = {
3837
"USE_HEADERMAP" => "YES",
3938
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
40-
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/Libraries/FBReactNativeSpec\" \"$(PODS_ROOT)/RCT-Folly\""
39+
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)/React/FBReactNativeSpec\" \"$(PODS_ROOT)/RCT-Folly\""
4140
}
4241

4342
s.dependency "RCT-Folly", folly_version

0 commit comments

Comments
 (0)