title: WatchOS 2 and RealmSwift
body: <p>I have an iOS project with RealmSwift already imported using <code>Cocoapods</code>. Now I'd like to use Realm (and only Realm) in my WatchOS 2 extension. While building the project there are almost 200 errors, so I must have missed out something. Here's my podfile and some of the errors:</p>
  
  <p><a href="https://i.stack.imgur.com/DO8Sv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DO8Sv.png" alt="enter image description here"></a>
  Building the RealmSwift scheme also gives the same errors. I have tried cleaning the project in Xcode itself and Derived Data folder.  Is there something I can do?</p>
  
  <p><strong>SOLUTION:</strong></p>
  
  <p>Following <a href="https://github.com/realm/realm-cocoa/issues/2774#issuecomment-152952662" rel="nofollow noreferrer">this GitHub issue comment</a> reinstalling CocoaPods fixed the errors. </p>