Skip to content

Commit

Permalink
Fix RNTester OSS build (facebook#43496)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#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
  • Loading branch information
dmytrorykun authored and facebook-github-bot committed Mar 15, 2024
1 parent b3a8eba commit 5c34ce0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions packages/react-native/ReactCommon/React-Fabric.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -198,15 +198,22 @@ Pod::Spec.new do |s|

end

ss.subspec "textinput" do |sss|
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/platform/ios/**/*.{m,mm,cpp,h}"
sss.header_dir = "react/renderer/components/iostextinput"

end

ss.subspec "textinput" 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.header_dir = "react/renderer/components/textinput"

end

ss.subspec "unimplementedview" do |sss|
sss.dependency folly_dep_name, folly_version
sss.compiler_flags = folly_compiler_flags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

#include <react/renderer/attributedstring/ParagraphAttributes.h>
#include <react/renderer/attributedstring/TextAttributes.h>
#include <react/renderer/components/iostextinput/BaseTextInputProps.h>
#include <react/renderer/components/iostextinput/conversions.h>
#include <react/renderer/components/iostextinput/primitives.h>
#include <react/renderer/components/textinput/BaseTextInputProps.h>
#include <react/renderer/core/Props.h>
#include <react/renderer/core/PropsParserContext.h>
#include <react/renderer/core/propsConversions.h>
Expand Down

0 comments on commit 5c34ce0

Please sign in to comment.