Skip to content

Commit 5c34ce0

Browse files
dmytrorykunfacebook-github-bot
authored andcommitted
Fix RNTester OSS build (#43496)
Summary: Pull Request resolved: #43496 This diff adds another sub-sub-spec to React-Fabric pod to fix import paths in `textinput`. Changelog: [Internal] Reviewed By: philIip, rshest Differential Revision: D54918454 fbshipit-source-id: 3949f8b8b201157f4c9eb256f3eb5bd5d66bc228
1 parent b3a8eba commit 5c34ce0

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,22 @@ Pod::Spec.new do |s|
198198

199199
end
200200

201-
ss.subspec "textinput" do |sss|
201+
ss.subspec "iostextinput" do |sss|
202202
sss.dependency folly_dep_name, folly_version
203203
sss.compiler_flags = folly_compiler_flags
204-
sss.source_files = "react/renderer/components/textinput/**/*.{m,mm,cpp,h}"
205-
sss.exclude_files = "react/renderer/components/textinput/platform/android"
204+
sss.source_files = "react/renderer/components/textinput/platform/ios/**/*.{m,mm,cpp,h}"
206205
sss.header_dir = "react/renderer/components/iostextinput"
207206

208207
end
209208

209+
ss.subspec "textinput" do |sss|
210+
sss.dependency folly_dep_name, folly_version
211+
sss.compiler_flags = folly_compiler_flags
212+
sss.source_files = "react/renderer/components/textinput/*.{m,mm,cpp,h}"
213+
sss.header_dir = "react/renderer/components/textinput"
214+
215+
end
216+
210217
ss.subspec "unimplementedview" do |sss|
211218
sss.dependency folly_dep_name, folly_version
212219
sss.compiler_flags = folly_compiler_flags

packages/react-native/ReactCommon/react/renderer/components/textinput/platform/ios/react/renderer/components/iostextinput/TextInputProps.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
#include <react/renderer/attributedstring/ParagraphAttributes.h>
1111
#include <react/renderer/attributedstring/TextAttributes.h>
12-
#include <react/renderer/components/iostextinput/BaseTextInputProps.h>
1312
#include <react/renderer/components/iostextinput/conversions.h>
1413
#include <react/renderer/components/iostextinput/primitives.h>
14+
#include <react/renderer/components/textinput/BaseTextInputProps.h>
1515
#include <react/renderer/core/Props.h>
1616
#include <react/renderer/core/PropsParserContext.h>
1717
#include <react/renderer/core/propsConversions.h>

0 commit comments

Comments
 (0)