ld: library not found for -lPods-AFNetworking

工程新添加了 AFNetworking  使用pod ,pod install 完成后,编译报错

ld: library not found for -lPods-AFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)

搜索结果都是 添加加库的引用路径。。。  都不好使...

最终解决:跟新下pod 的编译设置

http://blog.kingiol.com/blog/2013/12/03/fix-cocoapods-warning-on-ios7-64bit/

时间: 2024-08-04 22:05:54

ld: library not found for -lPods-AFNetworking的相关文章

错误 ld: library not found for -lPods

ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) 在将工程放到git上管理时 然后克隆下来 再打开工程可能会出现上面的问题解决办法: 在 Build Phase 下的 Link Binary With Libraries 中删除  "libPods.a" 文件 就行了

xcode在Archive生成安装包时遇到ld: library not found for -lPods

这个问题很容困扰,一般有以下几个方案 进入target的 Build Phases- Link binary Library,找到libPods.a,如果是红色的,删除,即可 其他解决方案 Build Setting > Other Linker Flag: Try to change wherever $(TARGET_BUILD_DIR) to $(BUILT_PRODUCTS_DIR).

xcode于Archive当产生安装包遇到ld: library not found for -lPods

此问题是由能力很困扰,通常有以下几个方案 进target的 Build Phases- Link binary Library.到场libPods.a,假设是红.删,能够 其他解决方案 Build Setting > Other Linker Flag: Try to change wherever $(TARGET_BUILD_DIR) to $(BUILT_PRODUCTS_DIR). 版权声明:本文博主原创文章,博客,未经同意不得转载.

ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation)

当用第三方库管理工具遇到这样的bug时,请确保Set Build Active Architectures Only在cocoapods和项目中设置为一样的. Had this problem as well. Something was wrong with my CocoaPods installation; No pods other than KIF were installing properly. I followed the comments on this thread to b

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 proj

iOS开发遇到的坑之六--使用cocopods管理第三方库时,编译出现Library not found for -lPods问题的解决方法

在项目中有时候会遇到Library not found for -lPods(这里的IPods指的是你具体的第三方库)的问题 出现这个错误的原因是:xcode在编译的时候找不到这个库,从而导致项目无法编译! 这里给出几种解决办法: 第一种: a) Search from 'Library' from the Target Settings view and double-click to inspect the value of Library Search Paths b) There are

iOS开发遇到的坑之六--使用cocopods管理第三方库时,编译出现Library not found for -lPods问题的解决办法

在项目中有时候会遇到Library not found for -lPods(这里的IPods指的是你具体的第三方库)的问题 出现这个错误的原因是:xcode在编译的时候找不到这个库,从而导致项目无法编译! 这里给出几种解决办法: 第一种: Search from 'Library' from the Target Settings view and double-click to inspect the value of Library Search Paths There are two v

ld: library not found for -

这几天在做微信登录,总是遇到这个问题,详细如下: ld: library not found for -lWeChatSDK clang: error: linker command failed with exit code 1 (use -v to see invocation) 如图所示: 每次把引入的SDK删除,再重新复制一遍就OK了,可总这么搞,好麻烦的说……网上有人说是路径问题,我也试过,但此时的路径没有问题,和刚复制进来时(能编译成功)路径一样的,然后我就费解了……

“ld: library not found for -l....”

现象: 在编译工程时,有时会遇到类似“ld: library not found for -l....”的错误提示. 原因: 通常这是由于工程在编译时找不到需要的链接库而导致的. 解决方法: 一般可以通过如下方法解决,在工程的Target中选中要执行编译的某个target,然后“get info”,打开Build设置页面, 在“Library Search Path”中添加缺失链接库的所在文件夹的路径即可.(路径可以通过点击工程 右键show in finder 找到-l……文件 然后右键 显示