ofxLeapMotion App Can not search or load libLeap.dylib.

I made Leap Motion app using ofxLeapMotion on Xcode.
Building is ok. But when run the app, I got the following error that seems to the app can not search or load the libLeap.dylib.

dyld: Library not loaded: @loader_path/libLeap.dylib
Referenced from: /Users/studio23c/works/dev/oF/of_v0.7.4_osx_release/apps/Leap/emptyExample/bin/emptyExampleDebug.app/Contents/MacOS/emptyExampleDebug
Reason: image not found

So, I go to the EditScheme and set the Enviroment Variables like… Name is DYLD_LIBRARY_PATH and Value is /Users/studio23c/works/dev_libs/OSX/LeapMotion/LeapSDK/lib.

After that, solved !

But, my friends can run the app using ofxLeapMotion without EditScheme setting.
I do really know why and If possible I would like to run ofxLeapMotion app without the EditSchema Setting.


:wink: here, resolved !