3

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

1 Answer 1

9

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.

Sign up to request clarification or add additional context in comments.

3 Comments

Do i need to add the build phase when building the framework or my application? I highlighted "Frameworks" in the drop down box, then what needs to go in the "path" box. Could you explain a little more how it works?
The copy phase would go in your application build, and you should leave the path empty (that would create a sub-path under the Frameworks directory, which isn't what you want)
+1 - I'm new to XCode in general and a similar error was killing my motivation. Thank you

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.