0 Replies Latest reply: Sep 12, 2013 4:18 AM by Marika Chelidze RSS

When adding "other linker flags" my project doesn't compile

Marika Chelidze Newbie

I am doing the "getting stated" guide and whenever trying to implement this step:

"In Xcode 4: Select your project in the Project Navigator. Then select Project Editor > Build Settings > All. Scroll down to the Linking section and set Other Linker Flags to include -all_load -ObjC".

I get the error: duplicate symbol _main in:.... ld: 11 duplicate symbols for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

I AM COMPILING MY PROJECT WITH ANOTHER PROJECT IN IT...