问题
I am facing a linker error when running my source code, I have attached a screenshot also. I am new in iOS development and so I am not able to get the error. Any help would be much appreciated.
回答1:
Please check https://testflightapp.com/sdk/ios/doc/
A library was not found, that testflight needs.
Include that framework (lib) and you are done.
回答2:
Xcode has a bug in which it will double-escape quotes in a path. Note how the error on the screen you captured has ' \" ' and such in it. These are in error. Correct it so it looks like a path, instead.
I note also that it appears that your project path has spaces in it. While technically allowed, this is never a good idea. I'd suggest correcting that if you can.
Finally, notice that Xcode has included an absolute path that refers to your user directory. This will work for now, but not if you move the project. It's far better to make the path relative - search for this term if you're not familiar - to the root of your source code using the $SRCROOT variable. Then it is portable.
来源:https://stackoverflow.com/questions/19954779/xcode-5-clang-error-linker-command-failed-with-exit-code-1-use-v-to-see-in