i added an native library: https://github.com/HippoAR/react-native-arkit
then i had the infamous “React/RCTBridgeModule.h” not found error. According to this guide, i have to change the header-search-paths
https://docs.expo.io/versions/latest/guides/expokit.html#changing-native-dependencies
I added ../../../ios/Pods/Headers/Public/React
to the header-search-paths and, which solved the error above. But now i get:
/path/to/project/node_modules/react-native/React/Base/RCTConvert.h:19:9: ‘yoga/Yoga.h’ file not found
Any idea?
2 Likes
@macrozone how did you solve this?
samee
November 10, 2017, 6:50am
3
hey, according to a similar issue some potential solutions are:
add this path to your header-search-paths as well
comment out use_frameworks!
is your pod file
edit your podfile and change #include
syntax
side note: if you’re trying to use arkit like macrozone, expo actually has support since sdk 21.0.2. check out this awesome tutorial to make something cool
@chitra05 I detached from expokit completly and started over with integrating the native libraries (e.g. https://github.com/HippoAR/react-native-arkit on which i am contributing now)