Skip to content

Commit cfe3937

Browse files
authored
Merge pull request #790 from cipolleschi/patch-1
fix: make sure react-native-contacts work with prebuilds
2 parents a91aec6 + 53b2b53 commit cfe3937

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

react-native-contacts.podspec

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ Pod::Spec.new do |s|
1919
s.source_files = "ios/**/*.{h,m,mm,swift}"
2020
s.frameworks = 'Contacts', 'ContactsUI', 'Photos'
2121

22-
s.dependency 'React-Core'
22+
install_modules_dependencies(s)
2323

24-
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
25-
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
26-
s.pod_target_xcconfig = {
27-
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
28-
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
29-
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
30-
}
31-
s.dependency "React-Codegen"
32-
s.dependency "RCT-Folly", folly_version
33-
s.dependency "RCTRequired"
34-
s.dependency "RCTTypeSafety"
35-
s.dependency "ReactCommon/turbomodule/core"
36-
install_modules_dependencies(s)
37-
end
3824
end

0 commit comments

Comments
 (0)