添加SenTestingKit.framework报错解决方法

5. 添加SenTestingKit.framework后报错如下:

dyld:Librarynot loaded:@rpath/SenTestingKit.framework/Versions/A/SenTestingKit
  Referencedfrom:/Users/turner/Library/ApplicationSupport/iPhone Simulator/5.1/Applications/798C5368-9BE2-4697-916B-37111953F2C8/EISElasticImage.app/EISElasticImage
  Reason: image not found
(lldb)

解决办法:在项目/targets/link binary with libary: 把改类库的可选属性:requried 改为optional

你可能感兴趣的:(添加SenTestingKit.framework报错解决方法)