title: Cannot archive Swift OSX app with Realm
body: <p>I have a Swift OS X app that uses RealmSwift (installed with CocoaPods 0.
  39.0)</p>
  
  <p>When I try to Archive it so that I can submit to the app store, I get 4 errors; all coming from RLMObject.h</p>
  
  <blockquote>
    <p>@interface RLMObject : RLMObjectBase</p>
  </blockquote>
  
  <p>error: Duplicatie interface definition for class 'RLMObject'</p>
  
  <p>The remaining three errors are all 'Poperty has a previous declaration'</p>
  
  <blockquote>
    <p>@property (nonatomic, readonly, nullable) RLMRealm *realm;</p>
    
    <p>@property (nonatomic, readonly) RLMObjectSchema *objectSchema;</p>
    
    <p>@property (nonatomic, readonly, getter = isInvalidated) BOOL
    invalidated;</p>
  </blockquote>
  
  <p>The application builds fine and runs fine in development/debug mode.</p>
  
  <p>Help</p>