I have taken sample code for Mac OSX from the Leapmotion website and it's working perfectly fine. But when I create my new project and drag those file according to the "Setting Up a Project" and run the project I am getting below error:
dyld: Library not loaded: @loader_path/libLeap.dylib
Referenced from: /Users/apple/Library/Developer/Xcode/DerivedData/LeampMotionGesture-fbpqybfylljdyxcnmzbkllmaocfi/Build/Products/Debug/LeampMotionGesture.app/Contents/MacOS/LeampMotionGesture
Reason: image not found
So can somebody please tell me how to get rid of this issue.