CocoaPods:library not found for -lPods

This is my first shot to write a blog in English. Enjoy! ;)

CocoaPods is a popular way to control iOS projects' dependency. And it's easy to use. 

If you got everything configured right for cocoapods, you can just integrate all dependency in your project with only one command: $ pod update.

As this blog not on details of how to configure and use cocoapods, we just focus on how to deal with a easy and sometimes confusing problem as it's already in the title of this blog.

ld: library not found for -lPods

The error detail is:

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

but the first line is the point.

You first use Cocoapods, but you take some time and effort to download and configure it. When you think it workds, but "BOOM" an error occured. It makes you really unhappy! Dude, I know how that feels, cuz I've been there. 

But when you find out what's going on there, you would just give it a smile! It's an easy one. You clicked the project file to open the cocoapods-handle-dependency project as what you always do. This is the problem! YEAH!!! What you got do to open the project correctly is to "CLICK THE WORKSPACE FILE".

So, my man. After you got cocoapods configration done, click the workspace file to open up your project! Then you will see how the project is organized:

For now, the proejct is a secret. :)

Hope this helps you!

 

欢迎加群互相学习,共同进步。QQ群:iOS: 58099570 | Android: 330987132 | Go:217696290 | Python:336880185 | 做人要厚道,转载请注明出处!http://www.cnblogs.com/sunshine-anycall/p/4142283.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值