CocoaPods:library not found for -lPods

作者:佚名 上传时间:2019-04-25 版权申诉

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

免责申明:文章和图片全部来源于公开网络,如有侵权,请通知删除 server@dude6.com

用户评论
相关推荐
CocoaPods:library not found for -lPods
This is my first shot to write a blog in English. Enjoy! ;) CocoaPods is a popular
library not found for -lPods 的解决办法
在老项目工程中使用cocoapods,可能会报这个错误:library not found for -lPods . 导致这个错误可能有两个原因,这两个原因在编译过程中都是有蛛丝
was not found on the java.library.path
apache的apr 博文链接:https://gaojianqi6.iteye.com/blog/1159875
RAR
0B
2019-04-09 21:31
在macOS上使用Xcode编译时出现错误 'ld: library not found for -lPods'
这个错误通常表示Xcode无法找到CocoaPods生成的库。首先,尝试执行以下步骤解决该问题。首先,确保你使用的是.xcworkspace文件而不是.xcodeproj文件来打开你的Xcode项目。
Xcode 12.0及以上
Xcode
2023-12-13 20:12
Not found the kernel library打不开修复工具.rar
软件介绍: 如果在打开某一程序时出现错误提示:Not found the kernel library or the kernel library is invalid,那是因为缺少相应的内核文件所致
RAR
421KB
2020-08-19 15:34
Cocoapods Cocoapods安装使用源码
Cocoapods的安装和使用 1 .先升级Gem(可以省略) sudo gem update --system 2 .切换cocoapods的数据源 【先删除,再添加,查看】 gem source
ZIP
3KB
2021-02-23 16:49
Not Found Not FoundNot Found
EXE
0B
2020-04-20 12:26
ecplise中启动Tomcat错误.not found on the java.library.path
NULL博文链接:https://wangqinghua123.iteye.com/blog/811615
rar
0B
2020-05-11 15:27
tomcat启动报APR based Apache Tomcat Native library not found
NULL博文链接:https://never-forget.iteye.com/blog/1827823
7Z
0B
2020-05-19 14:43
解决android模拟器BMapApiEngine_xxx library not found错误
NULL 博文链接:https://jyao.iteye.com/blog/2003714
RAR
545KB
2020-09-20 23:34