Posts

Post not yet marked as solved
1 Replies
278 Views
I am using xcode first time. I have tried to execute c program but after running the program the buid gets failed it shows the following error messageduplicate symbol '_main' in: /Users/dhruva/Library/Developer/Xcode/DerivedData/C-Programming-aptbsvpmnisjqadlhgfqlmggihfq/Build/Intermediates.noindex/C-Programming.build/Debug/C-Programming.build/Objects-normal/x86_64/main.o /Users/dhruva/Library/Developer/Xcode/DerivedData/C-Programming-aptbsvpmnisjqadlhgfqlmggihfq/Build/Intermediates.noindex/C-Programming.build/Debug/C-Programming.build/Objects-normal/x86_64/test.old: 1 duplicate symbol for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)
Posted Last updated
.