From 596ba834543c841539875feea0c48ffbca135139 Mon Sep 17 00:00:00 2001 From: Jakub Grzywacz Date: Thu, 12 Dec 2024 11:49:19 +0100 Subject: [PATCH] remove: *.metal from podspec source_files (#2576) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 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 | ✅ | --- RNSVG.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNSVG.podspec b/RNSVG.podspec index b3e0ca3a..0d0aafa0 100644 --- a/RNSVG.podspec +++ b/RNSVG.podspec @@ -12,7 +12,7 @@ Pod::Spec.new do |s| s.homepage = package['homepage'] s.authors = 'Horcrux Chen' 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.tvos.exclude_files = '**/*.macos.{h,m,mm}' s.visionos.exclude_files = '**/*.macos.{h,m,mm}' if s.respond_to?(:visionos)