简体   繁体   中英

Getting error after updating xcode 5.0 to 5.1

I have updated the xcode 5.0 to 5.1 today. I run the existed project but getting the error now. I had no issues while running that project on 5.0 version. The error is below :

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

Please someone help.

I re-added the frameworks but now I get another error which is below

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

Try going to your project configuration -> Build Settings -> Architechtures -> Valid architectures

Check if you've got the armv7s label duplicated.

You can also try to set to YES the Build Architechtures Only.

在此处输入图片说明

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM