Hi all,
I’m hitting a problem with linking a third party library after detaching (specifically, react-native-advanced-webview).
After detaching, I pod install
and build my project - that works fine. But then when I install and link react-native-advanced-webview, I get the error "React/RCTViewManager.h' file not found"
. I’ve tried too many solutions to list all of them, but they include:
- Setting header search path for RNAW to
$(inherited) ${PODS_ROOT}/Headers/Public
- Editing the scheme to disable parallelized builds and add libReact
- Manually linking instead of using
react-native link
- And so on
Part of the issue is most discussion around similar errors I can find assumes a normal react-native project, not a cocoapods-based one (and not using expokit).
I don’t think this is an expo problem specifically, but the project setup is making it more difficult to solve. I’m hopeful someone here may have encountered something similar before?
Thanks for any advice!