Error when using Realm in React Native app with Swift view controller
<p>I have React Native app which is using Realm. After I added extern framework to my Xcode project through CocoaPods (there are Realm.framework and RealmSwift.framework in CocoaPods dependencies) and added ability to open Swift view controller from my app I started to get one of these errors:</p>

<p><a href="http://i.stack.imgur.com/3Xl78.png" rel="nofollow">"Detach accessor" error</a></p>

<p>or</p>

<p><a href="http://i.stack.imgur.com/gCxk0.png" rel="nofollow">Xcode error</a></p>

<p>Seems like Realm from React Native code conflicts with Swift Realm in extern framework. Is it possible to solve this problem or I have to use another database library in my app?</p>