Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

library not found for -lRCTGeolocation

Have installed react-native-firebase & and i'am using my project.xcworkspace for getting build on iOS with Xcode that was fine when I installed only auth & core packages. When i installed messaging package I get the error "library not found for -lRCTGeolocation" anyway. Some could help me?

react-native: 0.60.3 react-native-firebase: 5.5.4

Thansk in advance.

I delete the messaging reference from pod file I delete pods folder & podfile.lock file re installed pods, clean the build but didn't solved.

like image 536
İbrahim Can KALYA Avatar asked Jul 12 '19 20:07

İbrahim Can KALYA


1 Answers

The geolocation module isn't a part of the react-native core module anymore since de 0.60 version (cf: https://facebook.github.io/react-native/blog/2019/07/03/version-60)

For it, you have to replace with the https://github.com/react-native-community/react-native-geolocation and delete the RCTGeolocation on the Libraries folder of your xcode project

like image 86
Steve Alves Avatar answered Oct 12 '22 05:10

Steve Alves