I recently switched to root 6.02, after having updated my system to OSX 10.11.3 and started to experienced issues when trying to run my applications from Xcode (built using cmake -G Xcode). If I manually set the LD_RUNPATH_SEARCH_PATHS in the configuration of the Xcode project, then the applications run. But anytime, I run cmake again for my applications, the Xcode project is overwritten and I have to set the path again.
I tried both the binary and the compilation installations.
The error displayed in Xcode is :
dyld: Library not loaded: @rpath/libCore.so
Referenced from: /Users/matkara/Codes/testRoot/build-xcode/Debug/testROOT
Reason: image not found
I tried to compile both my application and ROOT with the option : -DRPATH=ON but this had no effect.
Why is my Xcode project not aware of the location of the ROOT libraries?
Thank you for your advise,