• 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!

  • 相关阅读:
    springboot添加邮件发送及压缩功能
    springboot添加多数据源连接池并配置Mybatis
    SpringMVC+Mybatis初尝试
    个人课程总结
    第十六周学习总结
    第十五周学习总结
    第二阶段冲刺九
    第二阶段冲刺八
    第二阶段冲刺七
    搜狗拼音输入法使用评价
  • 原文地址:https://www.cnblogs.com/sunshine-anycall/p/4142283.html
Copyright © 2020-2023  润新知