First OpenGL App On Mac | Xcode
Tutorial
New C++ Project in Xcode
Select command line tool
Edit Header Search Paths & Library Search Paths
I could not find where to edit Header Search Paths and Library Search Paths until I found this Toutube tutorial.

Set additional preferences like below

build shorcut in xCode: command + b