当前位置:   article > 正文

Xcode_ library not found for -lAFNetworking_模拟器报错library 'afnetworking' not found

模拟器报错library 'afnetworking' not found

1.错误现象:

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

2.当Linked Frameworks and Libraries 中加入“libPods-XXX.a”后报错“Apple Mach-O Linker Error”

解决:
1.首先先选中工程中的Pods 工程 targets -> 选中框架(比如AFNetworking)->Build Setting ->Architectures -> Build Active Architecture Only ->Debug设置为YES,Release设置为NO(默认都是这么设置的)

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/471592
推荐阅读
相关标签
  

闽ICP备14008679号