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

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

问题描述

我无法摆脱这个错误!

我尝试了各种各样的事情,比如清除衍生数据(首选项 - >位置 - >单击灰色箭头在Finder中打开Derived Data文件夹 - >右键单击,移至垃圾箱),清理项目(CMD + Shift + K或产品) - >清理),更新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!

这是日志的图片:

Here's a picture of the log:

推荐答案

我今天在xcode 8版本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天全站免登陆