当前位置: 动力学知识库 > 问答 > 编程问答 >

xcode - Error when compiling with custom Framework

问题描述:

I try to compile my app with an external Framework. When I execute it, I get the following message:

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

The framework was added in the Build Phase, and I even tried to execute

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

Any idea what I could still be missing ? Thanks.

分享给朋友:
您可能感兴趣的文章:
随机阅读: