None of the above answers fixed it for me.
What I had done instead was run pod install
with a pod
command outside of the target
section. So for example:
#WRONG
pod 'SOMEPOD'
target "My Target" do
pod 'OTHERPODS'
end
I quickly fixed it and returned the errant pod back into the target
section where it belonged and ran pod install
again:
# CORRECT
target "My Target" do
pod 'SOMEPOD'
pod 'OTHERPODS'
end
But what happened in the meantime was that the lib -libPods.a
got added to my linked libraries, which doesn't exist anymore and shouldn't since there is already the -libPods-My Target.a
in there.
So the solution was to go into my Target's General settings and go to Linked Frameworks and Libraries and just delete -libPods.a
from the list.