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
  • 10,379
  • 42
  • 54
  • 85
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,080
  • 18
  • 36
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
  • 232
  • 3
  • 17