From 2c63f4926945904a076d9cc921e1490608ce1e75 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 3a2fca54f51ae6..b0b946a4708aa2 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|