如何解决 linker command failed with exit code 1 的错误(使用 -v 查看调用)

how to solve the error of linker command failed with exit code 1 (use -v to see invocation)

我 运行 我的应用程序出现一个错误。错误是 linker command failed with exit code 1 (use -v to see invocation).

错误提示我有 2 个重复的建筑符号 x86_64。

我找不到解决办法。我该如何解决这个问题?

请帮我解决这个问题。

在我看来,您的项目中似乎同时拥有 2.0 和 3.0 AFNetworking。我在 3.0 源代码中没有看到 AFURLConnectionOperation,但是您的 link 日志显示它与 AFURLRequestSerialization 冲突,后者 在 3.0 中是

事实上,github 迁移指南说:

The following classes have been removed from AFNetworking 3.0:

AFURLConnectionOperation

AFHTTPRequestOperation

AFHTTPRequestOperationManager