Merge pull request #1584 from jhen0409/patch-1

Exclude macos files on tvOS
This commit is contained in:
Adam Gleitman
2021-07-01 14:37:00 -07:00
committed by GitHub
+1
View File
@@ -13,6 +13,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/react-native-community/react-native-svg.git', :tag => "v#{s.version}" }
s.source_files = 'apple/**/*.{h,m}'
s.ios.exclude_files = '**/*.macos.{h,m}'
s.tvos.exclude_files = '**/*.macos.{h,m}'
s.osx.exclude_files = '**/*.ios.{h,m}'
s.requires_arc = true
s.dependency 'React-Core'