You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there! Given that this is my first React Native issue, let me just say, “awesome work!” This is an impressive project, and I especially appreciate the team open sourcing it.
I’m up against an issue using React Native when brought in as a CocoaPods dependency.
At first, the structure looks sound. My Pods/React directory includes everything and I’m able to compile an app that constructs a simple RCTRootView, but upon serving up my bundle JS file simple components seem to be throwing errors:
RCTJSLog> "Running application "ReactCocoaPodsDemo" with appParams: {"rootTag":1,"initialProps":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTRawText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTRawText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTRawText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTRawText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTText"
[RCTLog][tid:0x7f8528c53570][RCTUIManager.m:710]>No manager class found for view with module name "RCTRawText"
I’ve posted a sample repo with steps to recreate the issue:
You could try to pull in #508 and #285 and optionally #261. The current master branch doesn't handle cocoapods very well but once something like a scalable module system (#235) is built out things should get a lot better.
Thanks for the reply, @ide! I’ll take a look at those issues, but actually my problem was much simpler: I simply didn’t include the React/RCTText subspec dependency in my Podfile. This was pointed out to me by @mudetroit: andrewsardone/ReactCocoaPodsDemo#1.
I’m excited to see development of a broader module system (#235), so I’ll catch up on that thread. But frankly, right now this CocoaPods setup doesn’t seem too bad!
Hi there! Given that this is my first React Native issue, let me just say, “awesome work!” This is an impressive project, and I especially appreciate the team open sourcing it.
I’m up against an issue using React Native when brought in as a CocoaPods dependency.
At first, the structure looks sound. My
Pods/React
directory includes everything and I’m able to compile an app that constructs a simpleRCTRootView
, but upon serving up my bundle JS file simple components seem to be throwing errors:I’ve posted a sample repo with steps to recreate the issue:
git clone https://github.com/andrewsardone/ReactCocoaPodsDemo
cd ReactCocoaPodsDemo && open ReactCocoaPodsDemo.xcworkspace
script/server
and leave it running⌘R
to build and run<Text>
components are rendered, and Xcode’s console is noting the above warningsI’m at a loss on how to move forward, so any help would be appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: