Xcode 9.4 : unexpected service error: The Xcode build system has crashed : <p>I’m getting strange error while building project in Xcode 9.4</p>

<pre><code>Build system information - unexpected service error: The Xcode build system has crashed. Please close and reopen your workspace.
</code></pre>

<p><a href="https://i.stack.imgur.com/DZibI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/DZibI.png" alt="Screenshot attached"></a></p>

<p>I tried <em>Xcode quit and reopen but that didn’t worked.</em> Any solution?</p>
