title: CocoaPods could not find compatible versions for pod "Moya"
body: <p>My new project using swift 4.2 has below <strong>podFile</strong>:</p>
  
  <pre><code>pod 'Moya', '12.0.1'
  pod 'SwiftyJSON', '4.0'
  pod 'Moya-SwiftyJSONMapper'
  </code></pre>
  
  <p>Intalling using <strong>pod install --verbose</strong> shows error:</p>
  
  <blockquote>
    <p>[!] CocoaPods could not find compatible versions for pod "Moya":
          In Podfile:
            Moya (= 12.0.1)</p>
  
  <pre><code>    Moya-SwiftyJSONMapper was resolved to 1.0.0, which depends on
        Moya-SwiftyJSONMapper/Core (= 1.0.0) was resolved to 1.0.0, which depends on
          Moya (~&gt; 6.0.0)
  
  CocoaPods could not find compatible versions for pod "SwiftyJSON":
    In Podfile:
      Moya-SwiftyJSONMapper was resolved to 1.0.3, which depends on
        Moya-SwiftyJSONMapper/Core (= 1.0.3) was resolved to 1.0.3, which depends on
          SwiftyJSON (~&gt; 2.3.2)
  
      SwiftyJSON (= 4.0)
  </code></pre>
  </blockquote>