mehcode / rn-splash-screen

A JavaScript-controlled splash-screen for React Native designed to be run directly after the native splash-screen.
MIT License
350 stars 95 forks source link

'RCTBridgeModule.h' file not found #5

Closed dunhuang closed 8 years ago

dunhuang commented 8 years ago

I followed your instructions and have this error sign ...

ziv-moonsite commented 8 years ago

same here "fatal error: 'RCTBridgeModule.h' file not found"

dunhuang commented 8 years ago

@ziv-moonsite I found the solution. in left panel, select RCTSplashScreen.xcodeproj, then select 'TARGETS-> RCTSplashScreen' in the right. Activate the 'Build Setting' tab, in the 'Headers search Paths' line, add '$(SRCROOT)/../../react-native/React', 'recursive'

ziv-moonsite commented 8 years ago

Thanks a lot, my path was '$(SRCROOT)/../../../react-native/React' an non recursive, change it to your answer Fixed that issue.. 100%

kidequinox commented 6 years ago

I'm still getting this error. 'RCTBridgeModule.h' file not found

v5.2.0

I wonder if it has something to do with cocoapods

Blargh1 commented 6 years ago

@kidequinox Yeah, just roll cocoapods back to 1.4.0. IIRC, RN added support for cocoapods 1.5.3+ in 0.56.x.

sudo gem uninstall cocoapods sudo gem install cocoapods -v 1.4.0

arslanmurtaza commented 5 years ago

This did the magic, https://www.youtube.com/watch?v=JnZS5MoYKCY You just need to add React in scheme.