简体   繁体   English

未找到 -lAFNetworking Xcode 12.4 的库

[英]library not found for -lAFNetworking Xcode 12.4

错误截图 I'm having an error with AFNetworking, it's telling me that “library not found for -lAFNetworking“, I'm opening the.xcworkspace file.我遇到了 AFNetworking 错误,它告诉我“找不到 -lAFNetworking 的库”,我正在打开 .xcworkspace 文件。 you'll find a screenshot about the error.您会找到有关该错误的屏幕截图。

I had the same issue, and it fixed after I tried this answer.我有同样的问题,在我尝试了这个答案后它就解决了。

Adding arm64 at target > both in "yourAppName" and "yourAppName"tests > Build Settings > Excluded Archiceturestarget处添加arm64 > 在"yourAppName" and "yourAppName"tests > Build Settings > Excluded Archicetures

image图片

The solution is from the post: Library not found for -lAFNetworking Xcode issues解决方案来自帖子: 找不到 -lAFNetworking Xcode 问题的库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM