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

2017-03-20 19:30:50来源:CSDN作者:kangli_1990人点击

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

转自:http://blog.csdn.net/fg313071405/article/details/42807485

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

    • Go to Product > Edit Scheme
    • Click on Build
    • Add the Pods static library, and make sure it's at the top of the list
    • 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 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.
    • 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".

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台