title: cocoapods: An unexpected version directory was encountered. How do I fix this?
body: <p>I am running CocoaPods to add a dependency to my project.</p>
  <p>My pod file is located at Users/myUser/Desktop/project/project.</p>
  <p>It looks like this:</p>
  <pre><code>source 'https://github.com/hackiftekhar/IQKeyboardManager.git'
  
  pod 'IQKeyboardManager'
  
  xcodeproj '../project.xcodeproj'
  </code></pre>
  <p>and it is named Podfile.</p>
  <p>When I run <code>pod install</code>, I get this output:</p>
  <blockquote>
  <p>Analyzing dependencies</p>
  <p>[!] An unexpected version directory <code>Categories</code> was encountered for the <code>/Users/myUser/.cocoapods/repos/hackiftekhar/IQKeyboardManager</code> Pod in the <code>IQKeyboardManager</code> repository.</p>
  </blockquote>
  <p>What is CocoaPods expecting here and how can I fix this?</p>
  <p>Thanks,</p>
  <p>C</p>