Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Framework linking error, image not found?

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

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

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?

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

like image 695
cemulate Avatar asked May 22 '26 10:05

cemulate


1 Answers

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.

like image 123
cdespinosa Avatar answered May 24 '26 00:05

cdespinosa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!