iVapp
iVapp

Reputation: 1

Xcode linker command failed with exit code 1 (use -v to see invocation)

I ask for help for this error in Xcode:

error: linker command failed with exit code 1 (use -v to see invocation)

Ld: library not found for -lPods-Audioplayer
clang: error: linker command failed with exit code 1 (use -v to see invocation)

xcode

library

Upvotes: 0

Views: 409

Answers (2)

Merkurial
Merkurial

Reputation: 252

In some case if you manually link the framework to your project and failed when you build, you can try deleting and linking it again in your Build Phase/Link project with libraries.

Met the similar situation when I always fail the first time opening the project and building, but re-linking it makes the projects be able to build again.

Upvotes: 0

dokun1
dokun1

Reputation: 2110

Make sure you are trying to run from the .xcworkspace file and not the .xcodeproj file - the .xcworkspace file automatically compiles all of your dependencies for you and still runs the correct scheme for your app.

Upvotes: 1

Related Questions