Cocoapods: ld: library not found for -lPods

Created on 8 Nov 2016  Â·  5Comments  Â·  Source: CocoaPods/CocoaPods

Hi,
i'm using xcode 8 and pod version 1.1.1
I tried build a project but got library not found for -lPods (even though i can see at products folder the libPods-Appname.a file).

I tried on other project i have works fine. I noticed the icon for products file are different. Please refer to this screenshot:
screen shot 2016-11-08 at 6 17 55 am

The left side is working (products generated as .framework file), while right side is not working.
What is the different? Perhaps this why it's not working? how i can make it like on the left side?

Thank you

awaiting input

Most helpful comment

@sleith have you checked "Build Phases" tab for your target? For me there was old libPods.a file together with new libPods-TargetName.a. After removing libPods.a everything works fine.

All 5 comments

Can you please fill out the issue template?

It gets us lots of useful information about your setup that can help us help debug.

@sleith have you checked "Build Phases" tab for your target? For me there was old libPods.a file together with new libPods-TargetName.a. After removing libPods.a everything works fine.

Hi sir,
I tried recreate project and it works fine now.
I'm not sure what happened.
Thanks for your help :)

On Tue, Nov 15, 2016 at 4:10 PM, Andrei Zhabort [email protected]
wrote:

@sleith https://github.com/sleith have you checked "Build Phases" tab
for your target? For me there was old libPods.a file together with new
libPods-TargetName.a. After removing libPods.a everything works fine.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CocoaPods/CocoaPods/issues/6139#issuecomment-260586636,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAFhpYTX980vKUnXNJOpF5yWnosG-oOhks5q-Xb3gaJpZM4Kr2Pn
.

Best Regards,

Raymond Rulin

Can probably close this

Was this page helpful?
0 / 5 - 0 ratings

Related issues

luhui picture luhui  Â·  3Comments

soleares picture soleares  Â·  3Comments

pallaviMN picture pallaviMN  Â·  3Comments

Mingmingmew picture Mingmingmew  Â·  3Comments

evermeer picture evermeer  Â·  3Comments