How to change compiler in Xcode C ++

I have been looking for quite a while, and I cannot figure out how to change the compiler in the latest Xcode. I am not sure if it is currently installed, but I would like to change it to GCC, if possible. Right now, my homework example does not recognize ptrace.h, so I think it might be due to the selected compiler.

+6
source share
2 answers

Screenshot of assembly rules:

enter image description here

You can add a rule for C ++, click "+" to the right of "Custom".

+2
source

Select the project in the browser, then go to ...

Xcode

+1
source

All Articles