I'm attempting at just writing a standard(very standard) application the code( C-programming compiled in Xcode) is error free except for one build error:

ld: duplicate symbol _main in...