zoukankan      html  css  js  c++  java
  • 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!

  • 相关阅读:
    数据库设计
    构建评价
    Schema xds文献
    架构设计评价
    需求分析评价
    获取script的链接参数并执行
    js获取封装对象/通过id tag className
    通过css/js来固定div的位置
    nginx日志分析工具goaccesss
    如何快速安装 allure
  • 原文地址:https://www.cnblogs.com/sunshine-anycall/p/4142283.html
Copyright © 2011-2022 走看看