mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fixes podspec for master #11640
Summary: Currently the master Podspec is broken because tvOS files are being included, to avoid this compile error the file is being excluded. https://github.com/facebook/react-native/commit/c92ad5f6ae74c1d398c7cd93d5c4c50da0ca0430 Thats the commit which introduced the breakage anything later that that will fail. Aka RN 0.41 will fail because of this. **Test plan (required)** Tested on new project against master // cc ide Closes https://github.com/facebook/react-native/pull/11667 Differential Revision: D4375453 Pulled By: ericvicenti fbshipit-source-id: 035cdb8ef36054b40d1aaf59551cdc2e16f0cb19
This commit is contained in:
committed by
Mike Grabowski
parent
f1fdd8914a
commit
7f98028e71
+6
-1
@@ -34,11 +34,16 @@ Pod::Spec.new do |s|
|
||||
ss.dependency 'React/yoga'
|
||||
ss.dependency 'React/cxxreact'
|
||||
ss.source_files = "React/**/*.{c,h,m,mm,S}"
|
||||
ss.exclude_files = "**/__tests__/*", "IntegrationTests/*", "ReactCommon/yoga/*"
|
||||
ss.exclude_files = "**/__tests__/*", "IntegrationTests/*", "React/**/RCTTVView.*", "ReactCommon/yoga/*"
|
||||
ss.frameworks = "JavaScriptCore"
|
||||
ss.libraries = "stdc++"
|
||||
end
|
||||
|
||||
s.subspec 'tvOS' do |ss|
|
||||
ss.dependency 'React/Core'
|
||||
ss.source_files = "React/**/RCTTVView.{h, m}"
|
||||
end
|
||||
|
||||
s.subspec 'jschelpers' do |ss|
|
||||
ss.source_files = 'ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper}.{cpp,h}'
|
||||
ss.header_dir = 'jschelpers'
|
||||
|
||||
Reference in New Issue
Block a user