什么可能导致“未找到符号:_objc_setProperty_atomic”编译iOS 5.0时出错? [英] What can cause a "Symbol not found: _objc_setProperty_atomic" error when compiling for iOS 5.0?

查看:103
本文介绍了什么可能导致“未找到符号:_objc_setProperty_atomic”编译iOS 5.0时出错?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在IOS 5中遇到编译错误。
我得到的错误是:

I'm having a compiling error in IOS 5. The error I get is:

wait_fences: failed to receive reply: 10004003
dyld: lazy symbol binding failed: Symbol not found: _objc_setProperty_atomic
Referenced from: /var/mobile/Applications/952C640B-8310-4028-AAE5-FD308D02B005/MorethanMusic.app/MorethanMusic
Expected in: /usr/lib/libobjc.A.dylib

dyld: Symbol not found: _objc_setProperty_atomic
Referenced from: /var/mobile/Applications/952C640B-8310-4028-AAE5-FD308D02B005/MorethanMusic.app/MorethanMusic
Expected in: /usr/lib/libobjc.A.dylib

如何修复此错误?

推荐答案

保罗的回答只有一半。经过一番搜索,我找到了这个 thread,建议您使所有子项目的部署目标相同:

Paul's answer is only halfway there. After some searching, I found this thread, which suggested you make the deployment target the same for all subprojects:

它们是什么(至少对于这个问题)并不重要,只要它们是相同的。
这为我解决了这个精确错误。

It doesn't matter what they are (at least for this problem), as long as they're the same. This solved this precise error for me.

在构建之前不要忘记清理GData Project的DerivedData文件夹。

Don't forget to clean the GData Project's DerivedData Folder before building.

这篇关于什么可能导致“未找到符号:_objc_setProperty_atomic”编译iOS 5.0时出错?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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