简体   繁体   English

Xcode 6上的Swift编译器错误

[英]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.

相关问题 Swift 编译器错误 - Xcode 6 - Swift Compiler Error - Xcode 6 FirebaseDatabaseUI 有 Swift 编译器错误 Xcode 8 Swift 3 - FirebaseDatabaseUI has swift compiler error Xcode 8 Swift 3 Xcode 10上的FacebookCore Swift编译错误 - FacebookCore Swift Compiler Error on Xcode 10 删除了Xcode 9 beta,Swift编译器错误 - Deleted Xcode 9 beta, Swift Compiler Error 将xcode 6 beta 6升级到xcode 6 GM种子后的Swift编译器错误 - Swift compiler error after upgrade xcode 6 beta 6 to xcode 6 GM seed 核心 Plot iOS 编译器错误与 Xcode 11.0- Z818056DBD7E2012443206B9C71 - Core Plot iOS compiler error with Xcode 11.0- swift Swift 编译器错误 (Xcode):Concurrency is only available in iOS 15.0.0 or newer - Swift Compiler Error (Xcode): Concurrency is only available in iOS 15.0.0 or newer 为什么我在 Xcode 10.1 中出现 swift 编译器错误 - Why I am getting swift compiler error in Xcode 10.1 Xcode 10.2中的Realm Swift-错误:Swift 5.0编译器无法导入使用Swift 4.2编译的模块 - Realm Swift in Xcode 10.2 - ERROR: Module compiled with Swift 4.2 cannot be imported by the Swift 5.0 compiler Xcode 11.2.1 错误 - 使用 Swift 5.1 编译的模块无法由 Swift 5.1.2 编译器导入 - Xcode 11.2.1 Error - Module compiled with Swift 5.1 cannot be imported by the Swift 5.1.2 compiler
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM