Skip to content

Commit 7e7d00a

Browse files
hovoxfacebook-github-bot
authored andcommittedJan 18, 2018
Update React.podspec for RCTText
Summary: 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: http://facebook.github.io/react-native/docs/contributing.html Happy contributing! --> 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 `<Text>` element Fixed `RCTText` subspec integration. Closes #17655 Differential Revision: D6751039 Pulled By: hramos fbshipit-source-id: f4538d1125af2b45f36e2fa535382e032dbc8f4e
1 parent 63ce56f commit 7e7d00a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎React.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Pod::Spec.new do |s|
204204

205205
s.subspec "RCTText" do |ss|
206206
ss.dependency "React/Core"
207-
ss.source_files = "Libraries/Text/*.{h,m}"
207+
ss.source_files = "Libraries/Text/**/*.{h,m}"
208208
end
209209

210210
s.subspec "RCTVibration" do |ss|

0 commit comments

Comments
 (0)