Browse files

Update React.podspec for RCTText

Some of the classes of RCTText are now in the subfolders, this will fix pod integration for texts

Thank you for sending the PR! We appreciate you spending the time to work on these changes.

Help us understand your motivation by explaining why you decided to make this change.

You can learn more about contributing to React Native here:

Happy contributing!


I have integrated React Native into my project with [this guide]( and got the error `No component found for view with name RCTText`. Searching in the web did not give any useful information so I started to dig into the code and found out that there is now subfolders and pod taking only root classes. After making this change project started to compile again.

Create empty project with pods integrated add `RCTText` subspec and in `.js` file add  some `<Text>` element

Fixed `RCTText` subspec integration.
Closes #17655

Differential Revision: D6751039

Pulled By: hramos

fbshipit-source-id: f4538d1125af2b45f36e2fa535382e032dbc8f4e
  • Loading branch information...
hovox authored and facebook-github-bot committed Jan 18, 2018
1 parent 63ce56f commit 7e7d00aebefd2416f948066c65c739581c6e3f54
Showing with 1 addition and 1 deletion.
  1. +1 −1 React.podspec
@@ -204,7 +204,7 @@ do |s|
s.subspec "RCTText" do |ss|
ss.dependency "React/Core"
ss.source_files = "Libraries/Text/*.{h,m}"
ss.source_files = "Libraries/Text/**/*.{h,m}"
s.subspec "RCTVibration" do |ss|

0 comments on commit 7e7d00a

Please sign in to comment.