So I wanted to link to RealmSwift in my own framework and these are the steps I took:
Add
RealmSwiftas a subproject
Link the framework:

Add the dependency

Import
RealmSwiftinto the Swift file:
And I got the error: Missing required modules: 'Realm.Private', 'Realm'. How can I solve this issue? Thanks!