首页 > 其他 > 详细

使cocopods管理开源库编译出现Library not found for -lPods问题的解

时间:2015-07-19 16:36:13      阅读:719      评论:0      收藏:0      [点我收藏+]

If Xcode complains when linking, e.g. Library not found for -lPods, it doesn‘t detect the implicit dependencies:

  • 1.Go to Product > Edit Scheme

  • 2.Click on Build

  • 3.Add the 

    Pods 

    static library, and make sure it‘s at the top of the list

  • 4.Clean and build again

  • If that doesn‘t work, verify that the source for the spec you are trying to include has been pulled from 5.github. Do this by looking in /Pods/. If it is empty (it should not be), verify that the ~/.cocoapods/master//.podspec has the correct git hub url in it.

  • 6.If still doesn‘t work, check your XCode build locations settings. Go to Preferences -> Locations -> Derived Data -> Advanced and set build location to "Relative to Workspace".


技术分享


使cocopods管理开源库编译出现Library not found for -lPods问题的解

原文:http://my.oschina.net/zhuzhu1223/blog/480313

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!