ITPub博客

首页 > 应用开发 > IT综合 > dyld: Library not loaded: AdSupport.framework

dyld: Library not loaded: AdSupport.framework

原创 IT综合 作者:gaohongfeng 时间:2014-01-30 07:32:27 0 删除 编辑

一、问题

编译通过,联机调试时,应用启动闪退,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.




来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/12231606/viewspace-1076521/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-01-25

  • 博文量
    38
  • 访问量
    256579