error build: Command Ld failed with a nonzero exit code

I am in Xcode and building a C++ app. Compilation happens fine, but at link time I get the following message:

error build: Command Ld failed with a nonzero exit code

My project was derived from the Juce Projucer, and uses a static library, also derived from Projucer. I have indicated the location of this library in "Build Phases -> Link Binary with Libraries"

I can't find any clue as to why this error is occurring. I have used the same code and a library build in Windows, and it works there.

Would appreciate any help!

in Xcode, go to View/Navigators/Reports. (the navigator is the panel on the left, which can be closed. The Report navigator can also be chosen by the rightmost button at the top of this panel). Click the build log. On the right, the log will open. You'll see a Link stage near the end of the log. Select that stage, and a little icon will appear at the end of the line you have just highlighted. You can click that to expose the detailed link log.

That is very useful to know, thanks a lot for the comprehensive guidance!!

error build: Command Ld failed with a nonzero exit code
 
 
Q