mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
iOS OSS: added CocoaPods setup to RNTester and fix up the podspecs
Summary: This adds a way to test out CocoaPods build to RNTester, but as a separate project/workspace. This also fixes the podspecs due to Fabric stuffs. Note that this setup is meant to be run manually, not by CI (yet) Reviewed By: mmmulani Differential Revision: D7603823 fbshipit-source-id: 2219aa4c77f40ec07097a5c9ed4052529226618b
This commit is contained in:
committed by
Facebook Github Bot
parent
3e92073afc
commit
e636eb60d7
@@ -51,7 +51,7 @@ Pod::Spec.new do |s|
|
||||
"React/Inspector/*",
|
||||
"ReactCommon/yoga/*",
|
||||
"React/Cxx*/*",
|
||||
"React/Fabric/*",
|
||||
"React/Fabric/**/*",
|
||||
ss.ios.exclude_files = "React/**/RCTTV*.*"
|
||||
ss.tvos.exclude_files = "React/Modules/RCTClipboard*",
|
||||
"React/Views/RCTDatePicker*",
|
||||
@@ -73,6 +73,13 @@ Pod::Spec.new do |s|
|
||||
ss.compiler_flags = folly_compiler_flags
|
||||
ss.private_header_files = "React/Cxx*/*.h"
|
||||
ss.source_files = "React/Cxx*/*.{h,m,mm}"
|
||||
ss.exclude_files = "React/CxxExceptions/**/*"
|
||||
end
|
||||
|
||||
s.subspec "CxxExceptions" do |ss|
|
||||
ss.dependency "React/CxxBridge"
|
||||
ss.private_header_files = "React/CxxExceptions/*.h"
|
||||
ss.source_files = "React/CxxExceptions/*.{h,m,mm}"
|
||||
end
|
||||
|
||||
s.subspec "DevSupport" do |ss|
|
||||
|
||||
Reference in New Issue
Block a user