Xcode 6上的Swift编译器错误 [英] Swift compiler error on Xcode 6

查看:89
本文介绍了Xcode 6上的Swift编译器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用Swift Compiler时遇到问题: 我在最新的Xcode 6上为iOs创建了新项目,并尝试构建-使用ViewController.swift和AppDelegate.swift收到2个错误.

I have problems with Swift Compiler: I created new project for iOs on latest Xcode 6 and tried to build - recieved 2 errors with ViewController.swift and AppDelegate.swift.

<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)
<unknown>:0: error: unable to execute command: Bus error: 10 
<unknown>:0: error: swift frontend command failed due to signal (use -v to see invocation)

如有必要,我可以发布完整的日志.

I can post a full logs if if it is necessary.

我该怎么办?谢谢.

推荐答案

在处理快速项目时,我遇到了类似的问题.我在Apple支持网站上找到了.它说,当您尝试访问不存在/不可访问的内存地址时,会发生这种类型的错误.要解决此问题,您可以退出未使用的应用程序,甚至重新启动Mac,这可能会对您有所帮助.

I have faced a similar issue while working with a swift project. I found this on Apple Support Website. It says that this type of error occurs when you tried to access an non-existent/inaccessible memory address. To solve the issue you can quit unused applications or even restart the mac which will probably help you.

这篇关于Xcode 6上的Swift编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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