TheAppment
TheAppment

Reputation: 23

Yet another Linker command failed with exit code 1

I built an app 2 months ago and now I want to work with it again. I opened up the project today and I am getting the error as follows:

Linker command failed with exit code 1

enter image description here

Why do I get this error?

build fail

pod folder

Upvotes: 0

Views: 754

Answers (2)

Swinny89
Swinny89

Reputation: 7373

The linker error is because you can't find pods. Try the following:

  • Close Xcode
  • pod install
  • Open workspace

If that doesn't work:

  • Close Xcode pod update
  • Open workspace

If that still doesn't work:

  • Close Xcode
  • Delete derived data
  • Delete Pods folder and Podfile.lock
  • pod update
  • Open workspace

If that STILL doesn't work... it could be your project's deployment target, make sure the targetted version is the same in both your project and the podfile.

Upvotes: 1

Dris
Dris

Reputation: 844

As the picture say, can't find the pods. Just simply reinstall them with pod update. And ofcourse, don't forget to use .xworkspace files.

Upvotes: 0

Related Questions