Q: Please help! Xcode linker error?
Hello! I am a Computer Science student, and I'm having problems with Xcode. I've looked all over the internet and can't seem to find any answers.
I recently created a new project in Xcode so I could work on one of my programming assignments. Just a couple weeks ago I programmed and completed a project (in C++) in Xcode with no problem. This time when I tried to compile my new project, it gave me the error "linker command failed with exit code 1 (use -v to see invocation)". What does that mean? How can I fix it so I can continue working on my code? At first I thought it was something wrong with Xcode on macOS Sierra, so I restored one of my El Capitan backups and tried again. However, the same "linker command failed" error showed up again. I haven't done anything different from my other projects- all I did was add a couple header files and copy some code (that I knew worked) into them.
If you need photos of my code or the error message, just let me know! Any help is GREATLY appreciated!
MacBook Pro with Retina display, OS X El Capitan (10.11.4)
Posted on Oct 6, 2016 9:16 PM