Browse files

Fixes podspec for master #11640

Currently the master Podspec is broken because tvOS files are being included, to avoid this compile error the file is being excluded.


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 #11667

Differential Revision: D4375453

Pulled By: ericvicenti

fbshipit-source-id: 035cdb8ef36054b40d1aaf59551cdc2e16f0cb19
  • Loading branch information...
ptomasroos authored and facebook-github-bot committed Jan 7, 2017
1 parent 69b17ff commit 6e9fe3707a8701c0d2910f96bfb053e8bbe67c4a
Showing with 6 additions and 1 deletion.
  1. +6 −1 React.podspec
@@ -34,11 +34,16 @@ 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++"
s.subspec 'tvOS' do |ss|
ss.dependency 'React/Core'
ss.source_files = "React/**/RCTTVView.{h, m}"
s.subspec 'jschelpers' do |ss|
ss.source_files = 'ReactCommon/jschelpers/{JavaScriptCore,JSCWrapper}.{cpp,h}'
ss.header_dir = 'jschelpers'

0 comments on commit 6e9fe37

Please sign in to comment.