mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
remove: *.metal from podspec source_files (#2576)
# Summary Fixes #2571. Since filter shaders are already provided as compiled `*.metallib` files, there is no need to include `*.metal` files in the `source_files` list. ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ |
This commit is contained in:
@@ -12,7 +12,7 @@ Pod::Spec.new do |s|
|
|||||||
s.homepage = package['homepage']
|
s.homepage = package['homepage']
|
||||||
s.authors = 'Horcrux Chen'
|
s.authors = 'Horcrux Chen'
|
||||||
s.source = { :git => 'https://github.com/react-native-community/react-native-svg.git', :tag => "v#{s.version}" }
|
s.source = { :git => 'https://github.com/react-native-community/react-native-svg.git', :tag => "v#{s.version}" }
|
||||||
s.source_files = 'apple/**/*.{h,m,mm,metal}'
|
s.source_files = 'apple/**/*.{h,m,mm}'
|
||||||
s.ios.exclude_files = '**/*.macos.{h,m,mm}'
|
s.ios.exclude_files = '**/*.macos.{h,m,mm}'
|
||||||
s.tvos.exclude_files = '**/*.macos.{h,m,mm}'
|
s.tvos.exclude_files = '**/*.macos.{h,m,mm}'
|
||||||
s.visionos.exclude_files = '**/*.macos.{h,m,mm}' if s.respond_to?(:visionos)
|
s.visionos.exclude_files = '**/*.macos.{h,m,mm}' if s.respond_to?(:visionos)
|
||||||
|
|||||||
Reference in New Issue
Block a user