2014年6月22日星期日

Parse framework on Cocoa (OSX)

Got this error when running the empty project after imported Parse SDK.

"dyld: Library not loaded: @executable_path/../Frameworks/ParseOSX.framework/ParseOSX Referenced from: /Users.......Reason: image not found"

And here is the answer: https://parse.com/questions/parse-framework-not-working-in-cocoa


  1. Add a Copy Files Build Phase (Editor -> Add Build Phase -> Add Copy Files Build Phase)
  2. Then set the destination to Products Directory.
  3. Then click on the + button to choose the Parse Framework.
Seems a useful technique to deal with missing library or linking problem.