将xcode 5.0更新为5.1后出错

时间:2014-03-12 10:23:14

标签: ios xcode xcode5

我今天已将xcode 5.0更新为5.1。我运行现有的项目,但现在得到错误。在5.0版本上运行该项目时我没有遇到任何问题。错误如下:

ld: library not found for -lIOKit
clang: error: linker command failed with exit code 1 (use -v to see invocation)

请有人帮忙。

我重新添加了框架,但现在又出现了另一个错误

ld: 62 duplicate symbols for architecture armv7s
clang: error: linker command failed with exit code 1 (use -v to see invocation)

2 个答案:

答案 0 :(得分:1)

尝试进入项目配置 - >构建设置 - > Architechtures - >有效的架构

检查您是否复制了armv7s标签。

您也可以尝试将Build Architechtures设置为YES。

enter image description here

答案 1 :(得分:0)

请检查: - 转到构建设置,在搜索栏“GCC”中写入,检查天气编译器是否已设置(LLMV 5.xx)。

相关问题