philippec / PhFacebook

MacOSX Interface to Facebook graph API
http://developer.casgrain.com/?p=107
Other
178 stars 44 forks source link

Library not loaded, […] Reason: image not found #30

Closed raffael closed 12 years ago

raffael commented 12 years ago

Adding the framework to existing project? I just can't get it to work. Adding the framework always results in an error as soon as I run the app.

dyld: Library not loaded: @rpath/PhFacebook.framework/Versions/A/PhFacebook Referenced from: /Users/.../Library/Developer/Xcode/DerivedData/MY-APP-fzbzmhqjfsgwgscnzi...pjem/Build/Products/Debug/MY-APP.app/Contents/MacOS/MY APP Reason: image not found

Multiple users seem to have this problem. Is there any chance to fix this issue :)? Would be really helpful.

philippec commented 12 years ago

Hello,

It's not a PhFacebook issue if you cannot add a framework to your application; the problem seems to be in your application.

Can you run the sample application? It embeds the framework; just do what it does in your application.

Thanks!

chanduios commented 9 years ago

dyld: Library not loaded: @rpath/PhFacebook.framework/Versions/A/PhFacebook Referenced from: /Users/as186/Library/Developer/Xcode/DerivedData/FacebookMac-dhveprbfyuhuxtfxglmbrmclwrkh/Build/Products/Debug/FacebookMac.app/Contents/MacOS/FacebookMac Reason: image not found how can i solve this problem

philippec commented 9 years ago

You should copy the framework inside you app's bundle, under "Contents/Frameworks/". Can you run the sample app? It sets up everything correctly.