mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
610b14e4f3
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/36795 This change bump the min iOS version for React Native to 13.4, to align with company guidelines. ## Changelog: [iOS][Changed] - Moved the min iOS version to 13.4 Reviewed By: cortinico Differential Revision: D44634663 fbshipit-source-id: 035e8fcbb395f7394f8253e3ec485ad9937531c2
32 lines
1.1 KiB
Ruby
32 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 = "NativeCxxModuleExample"
|
|
s.version = package["version"]
|
|
s.summary = package["description"]
|
|
s.description = "NativeCxxModuleExample"
|
|
s.homepage = "https://github.com/facebook/react-native.git"
|
|
s.license = "MIT"
|
|
s.platforms = { :ios => min_ios_version_supported }
|
|
s.compiler_flags = '-Wno-nullability-completeness'
|
|
s.author = "Meta Platforms, Inc. and its affiliates"
|
|
s.source = { :git => "https://github.com/facebook/react-native.git", :tag => "#{s.version}" }
|
|
s.source_files = "**/*.{h,cpp}"
|
|
s.requires_arc = true
|
|
s.pod_target_xcconfig = {
|
|
"USE_HEADERMAP" => "YES",
|
|
"CLANG_CXX_LANGUAGE_STANDARD" => "c++17"
|
|
}
|
|
|
|
install_modules_dependencies(s)
|
|
|
|
s.dependency "ReactCommon/turbomodule/core"
|
|
end
|