From e989d0bf77199743785a8e4e96ef7d06222953c4 Mon Sep 17 00:00:00 2001 From: zhongwuzw Date: Wed, 22 Nov 2023 05:18:30 -0800 Subject: [PATCH] Fix Fabric componentregistrynative spec not work (#41602) Summary: `componentregistry`'s `source_files` of spec contains the `componentregistrynative`'s `source_files`, it caused `componentregistrynative` spec not work. ![image](https://github.com/facebook/react-native/assets/5061845/9d8706d3-d5a4-4637-8cf4-db095264cda5) cc. sammy-SC ## Changelog: [IOS] [FIXED] - Fix Fabric componentregistrynative spec not work Pull Request resolved: https://github.com/facebook/react-native/pull/41602 Test Plan: None. Reviewed By: javache Differential Revision: D51525001 Pulled By: cipolleschi fbshipit-source-id: 63f4ecb640f513170824cee6cbc800e805a81adb --- packages/react-native/ReactCommon/React-Fabric.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/React-Fabric.podspec b/packages/react-native/ReactCommon/React-Fabric.podspec index d4d6eb87d43..eb47078b78c 100644 --- a/packages/react-native/ReactCommon/React-Fabric.podspec +++ b/packages/react-native/ReactCommon/React-Fabric.podspec @@ -115,7 +115,7 @@ Pod::Spec.new do |s| s.subspec "componentregistry" do |ss| ss.dependency folly_dep_name, folly_version ss.compiler_flags = folly_compiler_flags - ss.source_files = "react/renderer/componentregistry/**/*.{m,mm,cpp,h}" + ss.source_files = "react/renderer/componentregistry/*.{m,mm,cpp,h}" ss.header_dir = "react/renderer/componentregistry" end