mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update podspecs to use the ReactNativeDependencies or build from source (#49968)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/49968 Updates all the core podspec to use the new `ReactNativeDependencies` podspec ## Changelog: [INTERNAL] - Updates Modules in core to use the new dependencies. Test Plan: ✅ Run Rn-Tester and verify that it works as expected both building deps from source and using prebuilt tarballs ✅ Add third-party library (react-native-reanimated) and perform the same tests to verify that it works with the changed podspec and utilities Reviewed By: cortinico Differential Revision: D71032639 Pulled By: cipolleschi fbshipit-source-id: e53179a8c1b47ee2b945f5cb5dfaf3f6f2755af2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
1e13ad64d8
commit
4c9431adda
@@ -7,8 +7,6 @@ require "json"
|
||||
|
||||
package = JSON.parse(File.read(File.join(__dir__, "../" "package.json")))
|
||||
|
||||
boost_compiler_flags = '-Wno-documentation'
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "MyNativeView"
|
||||
s.version = package["version"]
|
||||
@@ -17,11 +15,11 @@ Pod::Spec.new do |s|
|
||||
s.homepage = "https://github.com/sota000/my-native-view.git"
|
||||
s.license = "MIT"
|
||||
s.platforms = min_supported_versions
|
||||
s.compiler_flags = boost_compiler_flags + ' -Wno-nullability-completeness'
|
||||
s.compiler_flags = '-Wno-nullability-completeness'
|
||||
s.author = "Meta Platforms, Inc. and its affiliates"
|
||||
s.source = { :git => "https://github.com/facebook/my-native-view.git", :tag => "#{s.version}" }
|
||||
s.pod_target_xcconfig = {
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/RCT-Folly\" \"$(PODS_ROOT)/boost\" \"${PODS_CONFIGURATION_BUILD_DIR}/ReactCodegen/ReactCodegen.framework/Headers\"",
|
||||
"HEADER_SEARCH_PATHS" => "\"${PODS_CONFIGURATION_BUILD_DIR}/ReactCodegen/ReactCodegen.framework/Headers\"",
|
||||
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user