I'd love to simply write this as a comment to your question, but I'm lacking reputation to do so.
I have a similar problem, and I have tracked it down to CoreLocation in combination with MapKit (from your other questions, I think you are building a location based app as well) by basically copying and pasting my old project line by line into a new one.
Once I use CoreLocation and MapKit combined (in two different controllers), this error comes up.
import UIKit
import CoreLocation
class ViewController: UIViewController, CLLocationManagerDelegate {
override func viewDidLoad() {
super.viewDidLoad()
}
}
and
import UIKit
import MapKit
class SecondViewController: UIViewController, MKMapViewDelegate {
override func viewDidLoad() {
super.viewDidLoad()
}
}
with both MapKit and CoreLocation added, I get
<unknown>:0: error: unable to execute command: Segmentation fault: 11
<unknown>:0: error: merge-module command failed due to signal (use -v to see invocation)
Command /Applications/Xcode6-Beta6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 254
or
Use of undeclared type 'CLLocationManagerDelegate'
depending on if I also add MapKit to ViewController (without adding MKMapViewDelegate). I also makes a difference if I add MKMapViewDelegate to SecondViewController before adding an import MapKit statement to ViewController - just so you have an idea of how weird this behavior is.
I know, it's a long shot, but maybe you can gain some insight here.
EDIT: And oh - I'm quite sure this is simply an Xcode bug. They call it beta for a reason.