I am working with a swift project in Xcode 9. It was working fine and suddenly got some error while running.
Command/Applications/Xcode9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 6
I have tried many ways such as Cleaning the project, delete derived data from Xcode and restarting the Xcode .
But nothing helped for me.
Now Xcode is quiting automatically at regular occations. I have created another test project. That too showing same issue