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.
c92ad5f6ae
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:
parent
69b17ff48e
commit
6e9fe3707a
|
@ -34,11 +34,16 @@ Pod::Spec.new do |s|
|
||||||
ss.dependency 'React/yoga'
|
ss.dependency 'React/yoga'
|
||||||
ss.dependency 'React/cxxreact'
|
ss.dependency 'React/cxxreact'
|
||||||
ss.source_files = "React/**/*.{c,h,m,mm,S}"
|
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.frameworks = "JavaScriptCore"
|
||||||
ss.libraries = "stdc++"
|
ss.libraries = "stdc++"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
s.subspec 'tvOS' do |ss|
|
||||||
|
ss.dependency 'React/Core'
|
||||||
|
ss.source_files = "React/**/RCTTVView.{h, m}"
|
||||||
|
end
|
||||||
|
|
||||||
s.subspec 'jschelpers' do |ss|
|
s.subspec 'jschelpers' do |ss|
|
||||||
ss.source_files = 'ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper}.{cpp,h}'
|
ss.source_files = 'ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper}.{cpp,h}'
|
||||||
ss.header_dir = 'jschelpers'
|
ss.header_dir = 'jschelpers'
|
||||||
|
|
Loading…
Reference in New Issue