使用自定义框架进行编译时出错

时间:2014-03-31 20:06:58

标签: xcode cocoa frameworks dyld install-name-tool

我尝试使用外部框架编译我的应用程序。当我执行它时,我收到以下消息:

dyld: Library not loaded: @rpath/iLifeAssetManagement.framework/Versions/A/iLifeAssetManagement
  Referenced from: /Users/laurent/Library/Developer/Xcode/DerivedData/ReadPhotoStream-gdhuayfwgpajuxcwdognnhfqmnzt/Build/Products/Debug/ReadPhotoStream.app/Contents/MacOS/ReadPhotoStream
  Reason: image not found

框架已在构建阶段添加,我甚至尝试执行

install_name_tool -id @rpath/iLifeAssetManagement.framework/Versions/A/iLifeAssetManagement <folder_to>/iLifeAssetManagement.framework/iLifeAssetManagement

知道我还能错过什么吗?感谢。

0 个答案:

没有答案