[英]Swift compiler error on Xcode 6
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. 我在Swift Compiler中遇到问题:我在最新的Xcode 6上为iOs创建了一个新项目,并试图构建-使用ViewController.swift和AppDelegate.swift收到2个错误。
<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. 如果有必要,我可以发布完整的日志。
What should i do? 我该怎么办? Thanks.
谢谢。
I have faced a similar issue while working with a swift project. 在进行快速项目时,我遇到了类似的问题。 I found this on Apple Support Website.
我在Apple支持网站上找到了这个 。 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.
要解决此问题,您可以退出未使用的应用程序,甚至重新启动Mac,这可能会对您有所帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.