question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RCTViewManager.h not found

See original GitHub issue

Description

I’m trying to create a native iOS UI Component as described there.

When compiling in XCode, I get RCTViewManager.h not found.

Reproduction

Simply follows the example steps of the MapView custom component implementation (described there)[https://facebook.github.io/react-native/docs/native-components-ios.html].

Solution

Fix the documentation or react native 0.41.2 depending on where the issue comes from.

Additional Information

  • React Native version: 0.41.2
  • Platform: iOS
  • Operating System: MacOS

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

5reactions
Noitidartcommented, Jun 18, 2017

@dmueller39 what would be the solution then? I am also getting the problem when I type:

 #import <React/RCTViewManager.h>
0reactions
Noitidartcommented, Nov 18, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

'React/RCTViewManager.h' file not found - Stack Overflow
This solved the problem for me. Clear node_module folder and package-lock.json rm -rf node_modules && rm package-lock.json.
Read more >
'React/RCTViewManager.h' file not found · Issue #165 - GitHub
I am getting this error, despite me following the instructions to a T. I am using RN-42, I have added the correct target...
Read more >
[Solved]-'React/RCTViewManager.h' file not found
i solved this issue in easy ways. uninstall react-native-linear gradient cd ios && pod install. after uninstalling completely go to xcode.workspace ...
Read more >
React Native: How to fixed RCTBridgeModule.h file not found
React Native. React Native: How to fixed RCTBridgeModule. h file not found. 19K views 3 years ago React Native · AppSolution. AppSolution.
Read more >
rnmapbox/Lobby - Gitter
I checked the RCTMGLStyle.m file and the methods for Heatmaps exist, and I found a ... On build I get error: 'React/RCTViewManager.h' file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found