-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RCTDeprecation cocoapods integration (#41416)
Summary: Changelog: [Internal] cocoapods boilerplate to integrate the first RCTFoundation library. decided to split this up so we can reference it easily in the future when adding new libs Differential Revision: D51184321
- Loading branch information
1 parent
bb7f4ac
commit 7af712b
Showing
4 changed files
with
329 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...ges/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation/RCTDeprecation.podspec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# 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"))) | ||
version = package['version'] | ||
|
||
Pod::Spec.new do |s| | ||
s.name = "RCTDeprecation" | ||
s.version = version | ||
s.author = "Meta Platforms, Inc. and its affiliates" | ||
s.license = package["license"] | ||
s.homepage = "https://reactnative.dev/" | ||
s.source = { :git => 'https://github.com/facebook/react-native.git', :tag => 'v#{version}' } | ||
s.summary = "Macros for marking APIs as deprecated" | ||
s.source_files = "Exported/*.h" | ||
s.pod_target_xcconfig = { | ||
"DEFINES_MODULE" => "YES", | ||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++20" | ||
} | ||
s.compiler_flags = "-Wnullable-to-nonnull-conversion -Wnullability-completeness" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.