react-native-star-prnt icon indicating copy to clipboard operation
react-native-star-prnt copied to clipboard

RCTBridgeModule.h file not found

Open msert29 opened this issue 6 years ago • 3 comments

I've followed the steps from README in order to add the library into my project however when I try building it, I always get the React/RCTBridgeModule.h file cannot be found error. I've ejected from a CRNA project.

msert29 avatar Nov 18 '18 12:11 msert29

Hi @msert29 I am not sure if this has anything to do with CRNA, but try first installing the plugin on a brand new project and then follow the installation instructions. I have seen that error before and still not sure what causes it.

infoxicator avatar Nov 19 '18 10:11 infoxicator

@infoxicator I've managed to solve the issue. CRNA uses cocoapods to manage dependencies. After install dependencies and doing react-native link react-native-star-prnt, Header search path for RNStarPRNT must be added. So simply adding the $(SRCROOT)/../../../ios/Pods/Headers/Public (Project NOT Target) fixes the issue with React/x library.

msert29 avatar Nov 20 '18 20:11 msert29

@msert29 Thanks, It worked for me.

anil1712 avatar Mar 26 '19 10:03 anil1712