如何解决链接器命令的错误失败,退出代码1(使用-v查看调用)

时间:2016-04-05 09:19:07

标签: ios iphone xcode linker-errors

运行我的应用时遇到一个错误。错误是linker command failed with exit code 1 (use -v to see invocation)

错误显示架构x86_64有2个重复符号。

我找不到解决方案。我该如何解决这个问题?

i also put that screenshot of error in xcode

请帮我解决这个问题。

1 个答案:

答案 0 :(得分:2)

在我看来,您的项目中同时拥有2.0和3.0 AFNetworking。我在3.0源代码中看不到$(document).on('click change', ':input', function() { $(this).addClass("changed") }); ,但您的链接日志显示与AFURLConnectionOperation冲突,其中 在3.0。

事实上,github迁移指南说:

  

以下类已从AFNetworking 3.0中删除:

     

AFURLConnectionOperation

     

AFHTTPRequestOperation

     

AFHTTPRequestOperationManager