Xcode 5 Architecture i386 多个重复符号 [英] Xcode 5 Architecture i386 multiple duplicate symbols

查看:29
本文介绍了Xcode 5 Architecture i386 多个重复符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过复制Xcode中错误消息指定的路径找到了架构i386的源文件夹.有几个 .o 文件显然存在冲突,但是每当我删除一个文件并运行该程序时,它就会替换它.我该怎么办?我也清理了它并关闭了所有东西并重新启动了我的电脑.谢谢

I found the source folder for architecture i386, by copying the path specified by the error message in Xcode. There were several .o files which apparently were conflicting, however whenever I deleted one, and ran the program, it would replace it. What do I do? Also I've cleaned it and closed everything and restarted my computer. Thanks

推荐答案

可能的问题

当您将 .h 文件导入 Compile Sources 时,通常会发生此问题.

Possible Issue

This problem usually happens when you import .h files to Compile Sources.

清理项目的步骤

  1. 点击您的项目
  2. 选择项目的目标
  3. 转到构建阶段
  4. 扩展编译源
  5. 删除那里的所有文件

重新配置的步骤

  1. 编译源点击+再次添加文件
  2. 在搜索中突出显示 .m
  3. 将所有 .m 文件添加到您的项目
  4. 通过在 XCode 菜单
  5. 上转到产品->清理来清理项目
  1. On Compile Sources click + to add files again
  2. Highlight .m on search
  3. Add all .m files to your project
  4. Clean project by going to Product->Clean on XCode Menu

点击运行,希望它会起作用!

Click run, and hope it will work!

这篇关于Xcode 5 Architecture i386 多个重复符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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