Skip to content

Commit 7a89bbc

Browse files
SaadnajmiCopilot
andcommitted
fix(podspec): remove duplicate scrollview subspec in React-FabricComponents
The `scrollview` subspec is declared in both `React-Fabric.podspec` (recursive `scrollview/**/*` glob) and `React-FabricComponents.podspec`, so the same source files land in both Pods targets and produce duplicate symbol errors when both libraries are linked (e.g. via `-all_load`). `React-Fabric.podspec`'s recursive glob already covers everything FabricComponents listed (top-level + `platform/cxx` + `platform/ios`), so remove the duplicate subspec from `React-FabricComponents.podspec`. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 2415736 commit 7a89bbc

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

packages/react-native/ReactCommon/React-FabricComponents.podspec

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,6 @@ Pod::Spec.new do |s|
101101
sss.header_dir = "react/renderer/components/safeareaview"
102102
end
103103

104-
ss.subspec "scrollview" do |sss|
105-
sss.source_files = podspec_sources(["react/renderer/components/scrollview/*.{m,mm,cpp,h}",
106-
"react/renderer/components/scrollview/platform/cxx/**/*.{m,mm,cpp,h}",
107-
"react/renderer/components/scrollview/platform/ios/**/*.{m,mm,cpp,h}"],
108-
["react/renderer/components/scrollview/*.h",
109-
"react/renderer/components/scrollview/platform/cxx/**/*.h",
110-
"react/renderer/components/scrollview/platform/ios/**/*.h"])
111-
sss.exclude_files = "react/renderer/components/scrollview/tests"
112-
sss.header_dir = "react/renderer/components/scrollview"
113-
end
114-
115104
ss.subspec "text" do |sss|
116105
sss.source_files = podspec_sources(["react/renderer/components/text/*.{m,mm,cpp,h}",
117106
"react/renderer/components/text/platform/cxx/**/*.{m,mm,cpp,h}"],

0 commit comments

Comments
 (0)