mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
4c9431adda
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
31 lines
1.1 KiB
Ruby
31 lines
1.1 KiB
Ruby
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
require "json"
|
|
|
|
package = JSON.parse(File.read(File.join(__dir__, "../" "package.json")))
|
|
|
|
Pod::Spec.new do |s|
|
|
s.name = "MyNativeView"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.description = "my-native-view"
|
|
s.homepage = "https://github.com/sota000/my-native-view.git"
|
|
s.license = "MIT"
|
|
s.platforms = min_supported_versions
|
|
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_CONFIGURATION_BUILD_DIR}/ReactCodegen/ReactCodegen.framework/Headers\"",
|
|
"CLANG_CXX_LANGUAGE_STANDARD" => rct_cxx_language_standard()
|
|
}
|
|
|
|
s.source_files = "ios/**/*.{h,m,mm,cpp}"
|
|
s.requires_arc = true
|
|
|
|
install_modules_dependencies(s)
|
|
end
|