How to change compiler in Xcode C++
15,051
Solution 1
Select the project in the browser, then navigate to...
Solution 2
Screenshot of Build Rules:
You can add a rule for C++, click the "+" to the right of "Custom".
Author by
user1765804
Updated on July 20, 2022Comments
-
user1765804 almost 2 years
I've been searching for quite some time, and I can't seem to find out how to change the compiler on the latest Xcode. I am not sure what it is set at currently, but I'd like to change it to GCC if possible. Right now my homework example will not recognize ptrace.h, so I think it might have to do with the chosen compiler.
-
clankill3r almost 7 yearsDid they change this? I only see "Copy to target" buttons.