React-native-interactable: 'React/RCTViewManager.h' file not found

Created on 20 Mar 2017  路  5Comments  路  Source: wix/react-native-interactable

/node_modules/react-native-interactable/ios/Interactable/InteractableViewManager.h:10:9: 'React/RCTViewManager.h' file not found

#import <React/RCTViewManager.h>

Using react-native 0.35.0

All 5 comments

This framework requires RN 0.40 and above.

I have the same thing with RN 0.50.4 and interactable 0.1.10

RN53, the same

The header declarations in Interactable are searching in this directory:

[project root]/ios/Pods/Headers/Public/React/ or [project root]/ios/Pods/Headers/Public/React/React/

What you need to do is search in /Base or /Views subfolders at this path for the correct header file, then add that into the header file path declaration in the Interactable files.

eg

import becomes #import

Thanks for the tip @alexandria-g !

When I tried that it threw another issue down the road saying that 'RCTDirectEventBlock' is an unknown name type. Any suggestions / help in resolving that? Would really appreciate any tips!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sewerrat picture sewerrat  路  7Comments

tikkichan4 picture tikkichan4  路  5Comments

m10653 picture m10653  路  4Comments

brentvatne picture brentvatne  路  6Comments

kn1810 picture kn1810  路  8Comments