解决 dyld: Library not loaded:Reason: image not found

在使用第三方framework时,直接把framework拖到项目中,运行时报错:

dyld: Library not loaded: @rpath/ZipZap.framework/ZipZap
  Referenced from: 项目名
  Reason: image not found

解决方法:

TARGETS -> Linked Frameworks and Libraries 中把使用的framework Status 改为 Optional

135444-20160113153305975-1934517531.png

转载于:https://www.cnblogs.com/LeeYZ/p/5127450.html

你可能感兴趣的:(解决 dyld: Library not loaded:Reason: image not found)