forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
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 (facebook#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 Reviewed By: cipolleschi Differential Revision: D51184321
- Loading branch information
1 parent
575bb1e
commit 820c150
Showing
5 changed files
with
55 additions
and
5 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
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
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