Solution 1:

There's no requirement to use Xcode as such. If you're using the GNAT Community build, you'll need to have it installed though (free download).

You can just use the GNAT compiler directly as you would on other systems. There's no need to actually open Xcode and use the IDE.