Search code examples
xcode4linkercompiler-errors

How to see more information from Xcode linker?


When I try to compile this project I get the following error.

enter image description here

I would like to find out more about this error. It says to pass -v to see more information.

How can I do that?

And how can I remove this library from the linker?

Also, and this is an aside question, but does this count as a compiler error, or is it just a link error?


Solution

  • It says, that the linker failed. The previous line is the linker's error message:

    ld: library not found for -lPods.

    To remove the dependency on the library, go to project’s “Build Settings” tab and remove -lPods from the key named “Other Linker Flags”. Or, if it's not there, open the “Build Phases” tab and look for it in the list named “Link Binary With Libraries”.

    It’s a linker, not compiler error.