I get the below error quite freqently on my IDE
error: Unable to resolve build file: XCBCore.BuildFile (namedReferencesCannotBeResolved) (in target 'project_name')
And often there is no way to recover from this error. We are using Carthage to pull the dependencies.
I have cleaned derived data, cleaned carthage cache, cleaned xcode.Closed xcode project, Quit XCode.
I have looked through various stackoverflow answers as well. and this error has been random in nature. it started with xcode 10.2.
It sometimes disappears after xcode restarts, sometimes you have to do a machine restart.
There was once while debuging i got issue with swift.
swift -version
Segmentation fault 1:1
It would really help if apple can provide some guidance on this issue.