Realm Error : dyld: Library not loaded: @rpath/Realm.framework/Realm in Swift 2.1.1 ?


Realm is a mobile database that runs directly inside phones, tablets or wearables, To use the Realm have to added library in your project,  
But When you adding swift-2.1.1. and build and Run then got an error.


Error : 

dyld: Library not loaded: @rpath/Realm.framework/Realm
  Referenced from: /Users/nimblechapps/Library/Developer/CoreSimulator/Devices/7E84D2D8-112C-4178-8DA7-1EA6085CF0D7/data/Containers/Bundle/Application/5CE16887-1FFC-4C7C-8464-5053E34917A4/RelamDemo.app/RelamDemo
  Reason: image not found

 Solution :

Setp 1  :  Drag and drop Swift-2.1.1. in your project navigation. Link framework and Library added this two library. 

Step 2 : Click on project > General > Embedded Binary > Add Realm.framework and RealmSwift.framework.
Thanks:
Realm Error : dyld: Library not loaded: @rpath/Realm.framework/Realm in Swift 2.1.1 ? Realm Error : dyld: Library not loaded: @rpath/Realm.framework/Realm in Swift 2.1.1 ? Reviewed by KIRIT MODI on 23:27:00 Rating: 5

No comments:

Powered by Blogger.