重复符号“_hasListeners”反应本机
我目前正在开发一个需要 BLE 和 iWatch 集成的项目,但由于某种原因,当我安装库来执行这两个操作时,我收到此错误
duplicate symbol '_hasListeners' in:
/Users/wilcox/Library/Developer/Xcode/DerivedData/project-id/Build/Products/Debug-iphonesimulator/RNAppleHealthKit/libRNAppleHealthKit.a(RCTAppleHealthKit.o)
/Users/wilcox/Library/Developer/Xcode/DerivedData/project-id/Build/Products/Debug-iphonesimulator/react-native-ble-manager/libreact-native-ble-manager.a(BleManager.o)
我正在使用库 https://github.com/innoveit/react-native-ble-manager 和 https://github.com/agencyenterprise/react-native-health
我尝试过更新将这些库更新到最新版本,清理构建文件夹并删除派生数据,但没有成功。除了希望开发人员修复它之外,我还能做什么吗?
I'm currently working on a project that requires both BLE and iWatch integration but for some reason when I install libraries to do both, I get this error
duplicate symbol '_hasListeners' in:
/Users/wilcox/Library/Developer/Xcode/DerivedData/project-id/Build/Products/Debug-iphonesimulator/RNAppleHealthKit/libRNAppleHealthKit.a(RCTAppleHealthKit.o)
/Users/wilcox/Library/Developer/Xcode/DerivedData/project-id/Build/Products/Debug-iphonesimulator/react-native-ble-manager/libreact-native-ble-manager.a(BleManager.o)
I'm using the libraries https://github.com/innoveit/react-native-ble-manager and https://github.com/agencyenterprise/react-native-health
I've tried updating these libraries to the newest versions, cleaning the build folder and deleting derived data without any success. Is there anything I can do except hope the devs fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到
Pods - Development Pods - RNAappleHealthKit - RCTAppleHealthKit.m
并将:更改
为:
然后构建项目,将修复它。
Find
Pods - Development Pods - RNAppleHealthKit - RCTAppleHealthKit.m
And change:
to:
And then build the project, will fix it.