0

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

mpromonet
  • 11,326
  • 43
  • 62
  • 91
iVapp
  • 1
  • 4

2 Answers2

1

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.

dokun1
  • 2,120
  • 19
  • 37
0

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.

Merkurial
  • 242
  • 3
  • 17