Exclude macos files on tvOS

This commit is contained in:
jhen
2021-05-09 18:34:28 +08:00
parent fa9a25d36b
commit 686930b1c6

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'