架构 x86_64 ios React Native 的重复符号 [英] duplicate symbols for architecture x86_64 ios React Native

查看:54
本文介绍了架构 x86_64 ios React Native 的重复符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更新到了较新版本的 Xcode 和 React Native,但我的 Xcode React Native 版本出现重复符号问题.我试图从其他链接器标志中删除 -ObjC,将 No Common Blocks 更改为 No,并确保在Link Binary with Libraries"中没有链接库两次.之前建议的这些解决方案都没有帮助;所以,任何其他想法将不胜感激.

I have recently updated to the newer version of Xcode and React Native and I'm having issues with duplicate symbols for my Xcode React Native build. I have tried to remove -ObjC from other Linker flags, changed No Common Blocks to No, and made sure no libraries were linked twice in 'Link Binary with Libraries'. None of those solutions suggested previously have helped; so, any other ideas would be appreciated.

推荐答案

您可能有一些第三方库,您同时添加了 pod 和 react-native 链接.只需检查您的项目 Project/Libraries 文件夹和 Pods/Products 文件夹,看看是否有任何重复项.

You probably have some third-party libraries that you have added with both pods and react-native link at the same time. Just check your projects Project/Libraries folder and Pods/Products folder to see if there are any duplicates.

这篇关于架构 x86_64 ios React Native 的重复符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆