When unit testing a framework linked to CoreLocation, Xcode reports an error:
Test target <Target> encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart
will be attempted)
The `import CoreLocation` directive is sufficient to reproduce the error.
import Foundation
import CoreLocation
public class Foo {
public let name: String = "bar"
public init() {}
}
In the test code:
func testFoo() {
let foo = Foo()
XCTAssertEqual("bar", foo.name)
}