您的位置:首页 > 其它

xcode解决问题dyld: Library not loaded(AdSupport.framework)

2013-10-12 17:56 555 查看
一、问题
编译通过,联机调试时,应用启动闪退,XCODE的Output出现提示:
dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport
Referenced from: /var/mobile/Applications/。。。。。
Reason: image not found

二、解决方法

Found out the solution to the problem. The problem was setting the added frameworks as requiredinstead
of optional

GO TO Project-> Targets-> Build Phases-> Link Binary with Libraries

There, set the status of added frameworks to Optional

This solved my problem.






参考:
http://stackoverflow.com/questions/12915050/still-dyld-library-not-loaded

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐