I have added Realm and RealmSwift libraries in my iOS project. My app was fine till 2 days back. Suddenly it started giving following error.
Error:Swift package target ‘Realm’ is linked as a static library by ‘Project’ and ‘Realm’, but cannot be built dynamically because there is a package product with the same name.
I don’t find any static libraries in my app. I tried deleting library from Project->Package Dependencies. But XCode is throwing below compiler Error
Missing required modules: ‘Realm.Private’, ‘Realm’, ‘Realm.Swift’