Structure layout error, image not found?

I am using DarwiinRemote WiiRemote.framework in my application.

I already fixed some problems by downloading the source code and requiring garbage collection, and built for 10.5. However, when I try to add it to my project, I get a 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 have done several searches on the Internet, but they are all related to the framework, and in fact it does not make any sense to me. So I was hoping that someone here could give a short, sweet, clear answer?

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

+3
source share
1 answer

The framework apparently expects your application to copy it to the application package folder. Create a copy file assembly phase, add a framework to it, and set the destination in the Frameworks directory.

+9
source

Source: https://habr.com/ru/post/1705950/


All Articles