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
This commit is contained in:
zhongwuzw
2023-11-22 05:18:30 -08:00
committed by Facebook GitHub Bot
parent 9071a3a0b0
commit e989d0bf77
@@ -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