Thank you for your replay @szymczyk
It does't turn on
I start a new project and then choose C++ language
Then write the code and run it
it refuses to give me the output
and i try with another name but the same result.
How do I get to the actual error message?
1 duplicate symbol for architecture x86_64
duplicate symbol '_main' in:
/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Intermediates.noindex/c.build/Debug/c.build/Objects-normal/x86_64/l.o
/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Intermediates.noindex/c.build/Debug/c.build/Objects-normal/x86_64/ll.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: