From a0ddcd256a248a245eb3a67c4a60534ff21eb565 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 17 Jan 2025 05:07:05 -0800 Subject: [PATCH] Only include ReactCommon and ios platform for TextInput (#48754) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/48754 The React-FabricComponent was importing some non-existent files when we build for iOS with cocoapods. This change fixes it. ## Changelog [Internal] - Only include ReactCommon and ios platform for TextInput Reviewed By: GijsWeterings Differential Revision: D68319960 fbshipit-source-id: 45ddd7765f6afc0efef6dc1dadea782871fbd779 --- .../react-native/ReactCommon/React-FabricComponents.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/ReactCommon/React-FabricComponents.podspec b/packages/react-native/ReactCommon/React-FabricComponents.podspec index 33f4dd2ff33..b07da6444b6 100644 --- a/packages/react-native/ReactCommon/React-FabricComponents.podspec +++ b/packages/react-native/ReactCommon/React-FabricComponents.podspec @@ -153,8 +153,8 @@ Pod::Spec.new do |s| ss.subspec "iostextinput" do |sss| sss.dependency folly_dep_name, folly_version sss.compiler_flags = folly_compiler_flags - sss.source_files = "react/renderer/components/textinput/**/*.{m,mm,cpp,h}" - sss.exclude_files = "react/renderer/components/textinput/platform/android" + sss.source_files = "react/renderer/components/textinput/*.{m,mm,cpp,h}", + "react/renderer/components/textinput/platform/ios/**/*.{m,mm,cpp,h}" sss.header_dir = "react/renderer/components/iostextinput" end