Hi,
I've a project that must produce two executables: the main application and an executable that is called by a separate process.
I've created the second file in Xcode and added a second target of type Cocoa Shell Tool. I can now build the second executable but when I try to build my project normally I get an error saying there's two executables present:
ld: duplicate symbol _main in <path>/SecondExecutable.o and <path>/main.o
(<path>
was added by me to protect the innocent and their intelectual property).
How can I configure Xcode to build both at the same time?