Closed jfemoreau closed 13 years ago
Looks like you were not building with a common build folder (e.g. $HOME/build).
Can you build and run the included sample app?
Incorporating frameworks can sometimes be a PITA, there seems to be some sacrificial chickens involved...
It worked.
I had tried this before but obviously I'd done something wrong!
Thanks!
J F
Hi, I didn't understand how to fix this error. I did same thing @jfmoreau said he did in the first post and still getting Image not found.
Edit: Nevermind, just had to move the .framework folder to the system Frameworks folder. Sorry.
You want to put the framework in YourApp.app/Contents/Frameworks so it becomes embedded in your app. Check the sample application for more info.
Trying to get this working… followed all the steps to the letter, but something’s breaking when I go to run. Built the framework with no problem. Drug from the Finder into my app, copied. Added to copy phase. Added the appropriate #import statement. Built MyApp with no problem. When I go to run, it fails with: dyld: Library not loaded: @rpath/PhFacebook.framework/Versions/A/PhFacebook Referenced from: /Volumes/WorkingCopies/MyApp/source/trunk/build/Debug/MyApp.app/Contents/MacOS/MyApp Reason: image not found