title: dyld: Library not loaded realm
body: <p>i added a framework that i developed in ios to the new project. I tried to make the app universal (one framework work both in device and simulator) according to this tutorial 
  <a href="https://medium.com/@syshen/create-an-ios-universal-framework-148eb130a46c" rel="nofollow noreferrer">create an ios universal framework</a>
  . When i run my demo project using this universal framework i get this errors</p>
  
  <pre><code>dyld: Library not loaded: @rpath/Realm.framework/Realm
  </code></pre>
  
  <p>Referenced from: /private/var/mobile/Containers/Bundle/Application/DDF71B22-F535-43E5-B770-D3425419B108/DemoSDk2.app/Frameworks/#######.framework/#########
    Reason: no suitable image found.  Did find:
      /private/var/mobile/Containers/Bundle/Application/DDF71B22-F535-43E5-B770-D3425419B108/DemoSDk2.app/Frameworks/########.framework/Frameworks/Realm.framework/Realm: mmap() errno=1 validating first page of '/private/var/mobile/Containers/Bundle/Application/DDF71B22-F535-43E5-B770-D3425419B108/DemoSDk2.app/Frameworks/##########.framework/Frameworks/Realm.framework/Realm'</p>
  
  <p>both in device and simulator the demo app crash</p>