View Full Version : Compiling with Xcode

Feb 17, 2008, 01:27 AM
I have tried multiple times to compile a project in Xcode. Can anyone tell me how to do it step by step. Like which type of project do you create, where to put your C or C++ file. By the way I am trying to do it with C. Need help please!

Feb 17, 2008, 04:25 AM
If there's no UI and you are using straight C, select the "Standard Tool" project type. Put your source files anywhere you want under the Project name tab on the sidebar (you can organize its folders however you like). To compile, just select "Build", that's really all there is to it unless you need more advanced options (of which there are many). You can run it from Xcode or from Terminal (command-line). If I were you I'd download some example C Xcode projects from Apple or other sites and just look at how they are layed out.