链接器命令失败,退出代码为 1(使用 -v 查看调用)、Xcode 8、Swift 3 [英] Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3

查看:22
本文介绍了链接器命令失败,退出代码为 1(使用 -v 查看调用)、Xcode 8、Swift 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法摆脱这个错误!

我尝试了各种方法,例如清除派生数据(首选项->位置->单击灰色箭头以在 Finder 中打开派生数据文件夹-> 右键单击​​,移至垃圾箱)、清理项目(CMD+Shift+K or Product->Clean),更新 carthage 和依赖,在 StackOverflow 上检查其他答案(主要是在 Build Settings/Phases 中的调整),并从 github 重新克隆应用程序等

I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data folder in Finder->right-click, move to trash), cleaning the project(CMD+Shift+K or Product->Clean), updating carthage and dependencies, checked other answers on StackOverflow (mostly adjustments in Build Settings/Phases), and recloned the app from github, etc.

同一个项目在我的合作者计算机上运行..

The same project works on my collaborators computers..

从当前评分最高的答案来看,我能够进一步调试......但我仍然不确定如何修复.看起来我在项目中有两次?我看了两次都没有找到任何东西!

From the current top-rated answer, I was able to debug a little further...I am still not sure how to fix though. It looks like I have something in the project twice? I looked and can't find anything showing up twice!

这是日志的图片:

推荐答案

我今天在 xcode 8 version 8.3.2 中遇到了同样的问题

i was facing same issue today in xcode 8 version 8.3.2

右键单击问题 --> 在日志中显示

right click on issue --> reveal in log

然后您就可以检查导致该问题的原因

then you are able to check what is causing that issue

这篇关于链接器命令失败,退出代码为 1(使用 -v 查看调用)、Xcode 8、Swift 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆