简体   繁体   English

未找到 -lRCTGeolocation 的库

[英]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.已安装 react-native-firebase & 并且我正在使用我的 project.xcworkspace 使用 Xcode 在 iOS 上进行构建,当我只安装 auth & 核心包时,这很好。 When i installed messaging package I get the error "library not found for -lRCTGeolocation" anyway.当我安装消息包时,无论如何我都会收到错误“找不到 -lRCTGeolocation 的库”。 Some could help me?有人可以帮我吗?

react-native: 0.60.3 react-native-firebase: 5.5.4反应本机:0.60.3 反应本机火力基地: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.我从 pod 文件中删除了消息引用我删除了 pods 文件夹和 podfile.lock 文件重新安装了 pods,清理构建但没有解决。

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 )从 de 0.60 版本开始,地理定位模块不再是 react-native 核心模块的一部分(参见: 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为此,您必须替换为https://github.com/react-native-community/react-native-geolocation并删除 xcode 项目的 Libraries 文件夹中的 RCTGeolocation

将 react-native 版本降级到 0.59.10,删除 pods 文件夹、podfile.lock 和我的 project.xcworkspace 并通过 pod install 重新生成修复了我的问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM