Failing to build ROOT openssl

Dear Amadio, thanks for your reply.

I wanted to use brew at first but after installing it I tried to compile my code that uses some root libraries and got the error described on: Standalone application compilation error with TString.h.
As nickmccoll says: “it appears to be related to upgrading to clang 9.0.0 in XCode 9.0. After upgrading root does not build at all”.
In the end, pcanal said:

We have not yet released any binary compatible with XCode 9.

XCode 9 introduced changes in the standard library that is incompatible with old version of ROOT. There is a slight chance, depending on which plugin you need and which exact version that ‘just’ reconfigure and recompiling from scratch.

If it doesn’t you will need to use the master with commit 263508429dec26449513914e71f0f71c9ce9485f or newer.

Cheers,
Philippe.

I currently have XCode 10 so I decided to build from the git repository as Philippe suggested.

Is this so? Is it still not compatible? What would be the best option to try to do? Make root installation with brew work or continue this path?