I remember a long time ago writing simple macos apps you could use from the command line.
The compile command was basically:
gcc -o foo foo.m -framework Foundation
I think everything developers do in apple's ecosystem is needlessly complicated.