框架链接错误,找不到图片? [英] Framework linking error, image not found?

查看:73
本文介绍了框架链接错误,找不到图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用程序中使用了DarwiinRemote的WiiRemote.framework.

I'm using DarwiinRemote's WiiRemote.framework in my app.

我已经通过下载源代码并要求垃圾回收并为10.5构建而解决了一些问题.但是,当我尝试将其添加到项目中时,出现控制台错误:

I already fixed some issues by downloading the source code and requiring garbage collection, and building for 10.5. However, when I try to add it to my project, I get the console error:

dyld: Library not loaded: @executable_path/../Frameworks/WiiRemote.framework/Versions/A/WiiRemote
Referenced from: /Users/chasemeadors/Documents/Apps in development/Animation/build/Debug/Animation.app/Contents/MacOS/Animation
Reason: image not found

我已经在Internet上进行了一些搜索,但是它们都是特定于框架的,对我而言并没有太大意义.所以我希望在座的人能给出一个简短,甜蜜,可以理解的答案?

I've done some searching on the internet, but they're all framework specific, and not really making much sense to me. So I was hoping someone on here could give a short, sweet, understandable answer?

该框架的下载链接:(注意我的更改,即未进行垃圾收集) http://sourceforge.net/project/downloading.php?group_id=183966&use_mirror=softlayer&filename=WiiRemoteFramework0.5-src.tar.gz&a=58980345

Download link for the framework: (note my changes i.e. garbage collection not made) http://sourceforge.net/project/downloading.php?group_id=183966&use_mirror=softlayer&filename=WiiRemoteFramework0.5-src.tar.gz&a=58980345

推荐答案

该框架显然希望您的应用程序将其复制到应用程序包的Frameworks文件夹中.创建一个复制文件"构建阶段,向其中添加框架,然后将目标设置为框架"目录.

The framework is apparently expecting that your app will be copying it into the app bundle's Frameworks folder. Create a Copy Files build phase, add the framework to it, and set the destination to the Frameworks directory.

这篇关于框架链接错误,找不到图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆