Including Root libraries in a "main.cpp" Xcode

I’m a Mac user and a Root starter and for the time being I still haven’t managed to find how to include Root libraries (e.g.: #include “TGraph.h”) in my main.cpp Xcode projects without always compiling on my computer terminal.
Thank you in advance.

Gabriele Fornasier, Università degli Studi di Milano, Italy

Did you manage outside a XCode project ?

No, I did not. I am not an expert, and I’m looking for some suggestions on how to use Root on my Mac.

I found this: … nar_4.html