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
基础教程推荐
- iOS4 创建后台定时器 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
