错误运行模拟器:为i386硬件架构重复的符号 [英] Error running Simulator: duplicate symbol for architecture i386

查看:174
本文介绍了错误运行模拟器:为i386硬件架构重复的符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我添加ShareKit框架尝试以下是错误运行它在模拟器:

I added ShareKit framework to try and here is the error running it in Simulator:

duplicate symbol _LFHRReadStreamClientCallBack in 
.../Xcode/DerivedData/....build/Objects-normal/i386/LFHTTPRequest-8C6F35228BA446B9.o 
and 
.../Xcode/DerivedData/....build/Objects-normal/i386/LFHTTPRequest-8ACF920D803FDCA6.o 
for architecture i386

我看了看previous帖子<一个href=\"http://stackoverflow.com/questions/1456185/build-error-missing-required-architecture-i386-in-file\">Build错误 - 缺少必要i386硬件架构文件并尝试编辑project.pbxproj评论FRAMEWORK_SEARCH_PATHS线出来以及寻找无意中添加到我的项目,但没有运气.framework文件

I looked at previous posts Build Error - missing required architecture i386 in file and tried to edit project.pbxproj commenting FRAMEWORK_SEARCH_PATHS lines out as well as looking for .framework files accidently added to my project but with no luck.

还有什么可以我尝试?

推荐答案

您已经包含在你的项目LFHTT prequest两次。这有可能是另一个库(如sharekit),包括为你,doublecheck sharekit包括文件并删除LFHTT prequest的一个副本,事情应该编译。

You've included LFHTTPRequest in your project twice. It's possible that another library (such as sharekit) included it for you, doublecheck the files sharekit includes and remove one copy of LFHTTPRequest and things should compile.

这篇关于错误运行模拟器:为i386硬件架构重复的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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