From 7e7d00aebefd2416f948066c65c739581c6e3f54 Mon Sep 17 00:00:00 2001 From: Hovhannes Safaryan Date: Thu, 18 Jan 2018 13:02:57 -0800 Subject: [PATCH] Update React.podspec for RCTText Summary: Some of the classes of RCTText are now in the subfolders, this will fix pod integration for texts I have integrated React Native into my project with [this guide](https://facebook.github.io/react-native/docs/integration-with-existing-apps.html) 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 `` element Fixed `RCTText` subspec integration. Closes https://github.com/facebook/react-native/pull/17655 Differential Revision: D6751039 Pulled By: hramos fbshipit-source-id: f4538d1125af2b45f36e2fa535382e032dbc8f4e --- React.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React.podspec b/React.podspec index 3a2fca54f..b0b946a47 100644 --- a/React.podspec +++ b/React.podspec @@ -204,7 +204,7 @@ Pod::Spec.new 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}" end s.subspec "RCTVibration" do |ss|