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

Close your current project and open the .xcworkspace created in your project folder.

Good luck!


First try to Show the Report navigator (8. tab in left navigator of Xcode) and check the report. It should give you some info what is going on like:

framework not found Pods_[PODFILE_OLD_ABSTRACT_TARGET_NAME].

Often when you change the abstract_target's name (or whatever the Cocoapods is using to name the framework in the future) in podfile, check your target's Link binary With libraries under the Build phases.

If it keeps the framework with the old name that no longer exists (next to the new one), remove it.


  1. Go to Project Settings.
  2. Go to Build Settings.
  3. Change BUILD ACTIVE ARCHITECTURE ONLY to NO.