title: Cyclic dependency in module 'Darwin': in XCode 9.2
body: <p>Getting this weird error suddenly. </p>
  
  <p><a href="https://i.stack.imgur.com/QWz1z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QWz1z.png" alt="enter image description here"></a> </p>
  
  <p>I have tried cleaning and deleting the derived data and also tried changing the Enable modules flag in build settings.</p>
  
  <p><a href="https://i.stack.imgur.com/DkBoB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DkBoB.png" alt="enter image description here"></a>
  Does anyone know how to fix this errors in Xcode.</p>
  
  <p><strong>EDIT</strong>: The errors only show up while archiving, I can successfully build and run in Simulator.</p>
  
  <p>It can be easily reproduced by just installing <a href="https://github.com/core-plot/core-plot" rel="nofollow noreferrer">Core plot</a> and <a href="https://github.com/GoogleCloudPlatform/ios-docs-samples/tree/master/speech/Swift/Speech-gRPC-Streaming" rel="nofollow noreferrer">Google speech api</a> together via Cocoapods.</p>