title: RealmSwift installation on Xcode
body: <p>I am trying to create a project which uses Realm and RealmSwift. I have used Cocoapods to install these dependencies. I have seen the other posts too on stackoverflow and tried their solutions. They don't work for me. In my project, I'm getting the error <code>"No such module as RealmSwift"</code> when I write the <code>import RealmSwift</code> statement. Here are the steps I took for installation:</p>
  
  <ol>
  <li>I created an empty xcode project</li>
  <li>I went into terminal and navigated to my project directory</li>
  <li>I gave the <code>pod init</code> command to create a pod file</li>
  <li>I went into the pod file(it already had the <code>use_frameworks!</code> statement</li>
  <li><p>I wrote in <code>pod 'Realm'</code> and <code>pod 'RealmSwift'</code>. I gave the sources as:</p>
  
  <p>source '<a href="https://github.com/artsy/Specs.git" rel="nofollow noreferrer">https://github.com/artsy/Specs.git</a>'</p>
  
  <p>source '<a href="https://github.com/CocoaPods/Specs.git" rel="nofollow noreferrer">https://github.com/CocoaPods/Specs.git</a>'</p></li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/xAyjW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xAyjW.png" alt="enter image description here"></a></p>
  
  <ol start="6">
  <li>I wrote in <code>pod install</code></li>
  <li>The pods were installed successfully. I went into the .xcworkspace file.</li>
  <li>I had already installed the realm plugin so I created a new realm object file</li>
  <li>The template file opens with the following file. I'm getting the error that there is no RealmSwift module. </li>
  </ol>
  
  <p><a href="https://i.stack.imgur.com/d85LH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/d85LH.png" alt="enter image description here"></a></p>
  
  <p>What am I doing wrong? Or what am I not doing? Is a bridging header required? Has anybody else managed to resolve this error?</p>
  
  <p>Any relevant suggestions or insights are most welcome.</p>