Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Remove a pod causes Linker Error #1823

wolffan opened this Issue Feb 14, 2014 · 14 comments


None yet
10 participants

wolffan commented Feb 14, 2014

Removing Lookback pod caused this:

ld: framework not found LookBack
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Not sure if I'm doing something wrong or there is something wrong with the pod.


orta commented Feb 14, 2014

did you do a pod install after?

wolffan commented Feb 14, 2014

I did

wolffan commented Feb 14, 2014

The same happens if I remove reveal and do a pod install (with the reveal linker).
Dunno what I might be doing wrong

Did you add or remove a target? I.e.

Went from

target "Your_Target" do
    # pod ... add some pods

to simply

# pod ... add some pods

Or vice versa? Think I may be seeing a bug here... looking to see if dup...

wolffan commented Feb 20, 2014

Hello @JRG-Developer ,
no, just removed the lines in podfile.

The linker flags remain there (I remove them manually)

newmanw commented Feb 27, 2014

where are those flags in Xcode so I can manually remove them. I am having the same problem. no changes other than I removed a dependency. After a pod install things were messed up.

newmanw commented Feb 27, 2014

This has really screwed my project and I have no idea how to fix it. Bringing up another point can I 'reset' all the stuff pods did. I.E. start over without having to create a new project? I have removed Pods dir and xcworkspace and Podfile.lock but that did not help. I cannot even get back to regular xcode, when I do that its look for Pod specific stuff.

wolffan commented Feb 28, 2014

@newmanw you have to remove the linkers.
This means that in "Other Linker Flags" in you target "Build Settings", will have a list of linkers related to your pods.

Search for the pods that you want to delete and for each one you have to delete 2 things. First the linker with the pod name, and after, the "-framework" linker just below it.
So 2 linkers for each pod.

That fixed things for me


kylef commented Mar 11, 2014

I've came across this before myself. Temporary fix: rm -fr Pods && pod install.

@confidencejuice closed with reason "original problem is not reproduceable as of at least 0.30. a new issue raised in the comments (#1823 (comment)) has been created see #1954"

jlubeck commented Nov 2, 2016

This just happened to me as well with cocoapods 1.1.1.
I had to manually remove the linker flags from my target.
I just removed the line from the Pod file and did pod install. Nothing more, nothing less.

Rnorback commented Jan 31, 2017 edited

This is happening to me wiht cocoapods 1.2.0 and I'm not finding any way out.

ld: framework not found LookBack
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I've tried manually removing the flags from my pod file and doing pod install but it's not working

ElyDantas commented Jul 28, 2017 edited

To make sure which pod is giving you trouble you need to:

  1. Right click the message"Linker command failed with exit code 1"
  2. Choose the option "Reveal in Log" ,
  3. A mensage in the right window will appear showing the framework causing you trouble
  4. Delete -framework and FrameworkName in "Other Linker Flags" from your project target's "Build Settings"

copia de captura de tela 2017-07-27 as 23 37 22

copia de captura de tela 2017-07-27 as 23 39 29

build success

alper commented Aug 18, 2017

Just got bit by this after removing PaymillSDK. Cocoapods does not seem to update the "Other Linker Flags" setting?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment