unable to execute command: Segmentation fault: 11 swift frontend command failed due to signal (use -v to see invocation)(无法执行命令:分段错误:11 swift frontend command failed due to signal(使用 -v 查看调用))
问题描述
我有一个 iOS swift 程序,可以在 Xcode Beta2 上编译和运行良好.当我下载 beta4 时,我得到了一些新的 swift 语言的语法错误,我已经更正了.我现在收到此错误:
I have an iOS swift program that compiles and runs fine on Xcode Beta2. When I downloaded beta4, I got a few syntax errors for the new swift language which I corrected. I now get this error:
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: swift frontend command failed due to signal (use -v to see invocation)
问题是它没有告诉我这个错误在哪里,以便我可以进一步解决它.我可以在哪里输入 -v 以查看调用"并进一步排除故障?没有这个,就绝对没有办法找出问题所在.提前致谢.
The problem is that it does not tell me where this error is so that I can further troubleshoot it. Where can I type -v in order to "see the invocation" and troubleshoot further? Without this, there is absolute no way to figure out the problem. Thanks in advance.
推荐答案
以下是我找出问题所在的方法:
Here's how I was able to find out what the problem was:
- 在问题导航器中单击问题(⌘ + 4,然后单击开头带有红色 ! 的行)
- 在出现的文件的底部,应该有一行内容如下:
<代码>1.在发出 IR SIL 函数 @_TToZFC4Down8Resource12getInstancesfMS0_U__FTSS6paramsGVSs10DictionarySSPSs9AnyObject__9onSuccessGSqFGSaQ__T__7onErrorGSqFT5errorCSo7NSError8responseGSqCSo17NSHTTPURLResponse__T___T_ for 'getInstances' at/path/to/file.swift:112:5
- 发生错误的位置在该行的末尾.(在这种情况下,在
getInstances
中 file.swift 的第 112 行).
- The location where your error occurred is at the end of that line. (In this case, on line 112 of file.swift in
getInstances
).
这篇关于无法执行命令:分段错误:11 swift frontend command failed due to signal(使用 -v 查看调用)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:无法执行命令:分段错误:11 swift frontend command fai


基础教程推荐
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01