File tree Expand file tree Collapse file tree 4 files changed +14
-4
lines changed
packages/react-native/ReactCommon Expand file tree Collapse file tree 4 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ Pod::Spec.new do |s|
33
33
s . source = source
34
34
s . source_files = "dummyFile.cpp"
35
35
s . pod_target_xcconfig = { "USE_HEADERMAP" => "YES" ,
36
- "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" }
36
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" ,
37
+ "DEFINES_MODULE" => "YES" }
37
38
38
39
if ENV [ 'USE_FRAMEWORKS' ]
39
40
s . header_mappings_dir = './'
Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ Pod::Spec.new do |s|
27
27
s . source = source
28
28
s . source_files = "**/*.{cpp,h}"
29
29
s . header_dir = "react/debug"
30
- s . pod_target_xcconfig = { "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" }
30
+ s . pod_target_xcconfig = {
31
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17" ,
32
+ "DEFINES_MODULE" => "YES"
33
+ }
31
34
32
35
if ENV [ 'USE_FRAMEWORKS' ]
33
36
s . module_name = "React_debug"
Original file line number Diff line number Diff line change @@ -49,7 +49,11 @@ Pod::Spec.new do |s|
49
49
header_search_paths = header_search_paths + [ "\" $(PODS_TARGET_SRCROOT)/platform/ios\" " ]
50
50
end
51
51
52
- s . pod_target_xcconfig = { "USE_HEADERMAP" => "NO" , "HEADER_SEARCH_PATHS" => header_search_paths . join ( " " ) }
52
+ s . pod_target_xcconfig = {
53
+ "USE_HEADERMAP" => "NO" ,
54
+ "HEADER_SEARCH_PATHS" => header_search_paths . join ( " " ) ,
55
+ "DEFINES_MODULE" => "YES"
56
+ }
53
57
54
58
s . dependency "glog"
55
59
s . dependency "RCT-Folly/Fabric" , folly_version
Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ Pod::Spec.new do |s|
44
44
s . exclude_files = "tests"
45
45
s . pod_target_xcconfig = {
46
46
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17" ,
47
- "HEADER_SEARCH_PATHS" => header_search_paths . join ( ' ' ) }
47
+ "HEADER_SEARCH_PATHS" => header_search_paths . join ( ' ' ) ,
48
+ "DEFINES_MODULE" => "YES"
49
+ }
48
50
49
51
if ENV [ 'USE_FRAMEWORKS' ]
50
52
s . module_name = "React_utils"
You can’t perform that action at this time.
0 commit comments