Test target X encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted
<p>I have started working with <code>OCMock</code> to write test cases for the existing project that I have integrated in my project workspace. After following all the steps mentioned in this <a href="http://ocmock.org/ios/" rel="noreferrer">link</a>.</p>

<p>When I first executed my test case it's giving the error above. I searched it and tried following some of the solutions like <em>creating new target</em>, <em>restarting Xcode</em> but it didn't help me out. Any idea?</p>