nitaliano / react-native-mapbox-gl

A Mapbox GL react native module for creating custom maps
Other
2.16k stars 699 forks source link

Error: 'React/RCTBridge.h' file not found #1661

Closed nlshuynguyen closed 4 years ago

nlshuynguyen commented 4 years ago

install mapbox following steps in https://github.com/react-native-mapbox-gl/maps/blob/master/ios/install.md. But when I run it show error image

Then I go to file -> workspace setting -> legacy build system. It show another error image image

How can I fix it? "react-native": "0.60.5"

kristfal commented 4 years ago

This repo is deprecated. Use the new one for RN60+ support. See main readme.

nlshuynguyen commented 4 years ago

I'm sorry. This you mean I should follow steps in this link: https://github.com/nitaliano/react-native-mapbox-gl/blob/master/ios/install.md ?

kristfal commented 4 years ago

No. I mean using this instead:

https://github.com/react-native-mapbox-gl/maps

nlshuynguyen commented 4 years ago

oh. Maybe I misunderstood you. Can you show me the new one for RN60+ ?. I read in readme and can't see the link for new version. Thank you for your help.

kristfal commented 4 years ago

I literally posted the link to the new repo with RN60 support in the previous message. If this is not clear, then I can’t help you any further I’m afraid.

nlshuynguyen commented 4 years ago

yes. I tried both. but still got same error. I already created same issues in https://github.com/react-native-mapbox-gl/maps but not find solution for this.