15
votes

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.

2

2 Answers

39
votes

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

-2
votes

downgrading react-native version to 0.59.10, deleting pods folder, podfile.lock & my project.xcworkspace and regenerating via pod install fixed my problem