我对Mac应用程序使用Restkit。我可以从Xcode中运行应用程序,但是当我归档应用程序并启动.app
束我得到以下错误:应用程序包之外的应用程序引用框架
Dyld Error Message:
Library not loaded: /Library/Frameworks/RestKit.framework/Versions/A/RestKit
Referenced from: /Users/USER/Desktop/*/MyApp.app/Contents/MacOS/MyApp
Reason: image not found
框架Restkit.framework
是我的项目中Restkit项目依赖的产品。我也正在使用另一个框架Sparkle.framework
,我也复制到.app
捆绑包,并且被正确引用。
我需要在我的项目中更改什么,MyApp
未通过/Library/Frameworks/...
引用框架,而是使用应用程序包中的框架,如Sparkle.framework
。
我使用Restkit在提交c19a500
奇怪,当我构建RestKit项目时,产品保持红色,这表明框架未建成。 – Besi 2012-02-01 17:07:11
我在github上创建了[问题](https://github.com/RestKit/RestKit/issues/543),并会在这里发布任何结果,因为它们应该可用 – Besi 2012-02-01 17:14:46