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:
Jakub Grzywacz
2024-12-12 11:49:19 +01:00
committed by GitHub
parent d3d61a5fc1
commit 596ba83454

View File

@@ -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)