title: Xcode showing error 'No such module' even though I've installed Cocoapods and installed pod file of Dialogflow
body: <p><a href="https://i.stack.imgur.com/yeXwy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yeXwy.jpg" alt="enter image description here"></a></p>
  
  <p>I've been making a chatbot using Dialogflow formerly Api.AI but now encountering error while integrating the project to my app written in Swift in Xcode. I'd installed cocoapods using terminal "sudo gem install cocoapods" and using <a href="https://github.com/dialogflow/api-ai-cocoa-swift" rel="nofollow noreferrer">this</a> version of Dialogflow to create the podfile.</p>
  
  <p>All gone well but now when I'm importing inside Xcode in my app's AppDelegate.swift file using <strong>import ApiAI</strong> or <strong>import AI</strong> Xcode is showing me error that <strong>No such module</strong>. Please refer to image.</p>
  
  <p>And on GitHub <a href="https://github.com/dialogflow/api-ai-cocoa-swift" rel="nofollow noreferrer">this</a> library which is written in Swift, showing that it has depreciated and asking me to refer to <em><a href="https://github.com/api-ai/apiai-apple-client" rel="nofollow noreferrer">API.AI's Apple Client library</a></em> which is in Obj-C and unfortunately I've no expertise in Obj-C.</p>