Skip to content

Commit 0276859

Browse files
authored
Update react-native-airship.podspec (urbanairship#544)
1 parent 6ce4bf5 commit 0276859

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

react-native-airship.podspec

+4-16
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,10 @@ Pod::Spec.new do |s|
1616

1717
s.source_files = "ios/**/*.{h,m,mm,swift}"
1818

19-
s.dependency "React-Core"
20-
21-
# Don't install the dependencies when we run `pod install` in the old architecture.
22-
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
23-
s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
24-
s.pod_target_xcconfig = {
25-
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
26-
"OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
27-
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
28-
}
29-
s.dependency "React-Codegen"
30-
s.dependency "React-RCTFabric"
31-
s.dependency "RCT-Folly"
32-
s.dependency "RCTRequired"
33-
s.dependency "RCTTypeSafety"
34-
s.dependency "ReactCommon/turbomodule/core"
19+
if defined?(install_modules_dependencies()) != nil
20+
install_modules_dependencies(s)
21+
else
22+
s.dependency "React-Core"
3523
end
3624

3725

0 commit comments

Comments
 (0)