Can I compile OpenFrameWorks with XCode

By the way I have XCode 8 for Mac OSX.

Look here for the Xcode setup:

You should be able to open the examples in Xcode and run it like that, and then use the Project Generator to create a new oF project.

You should also update Xcode to the most recent version, from my experience its not very happy when you don’t update it.