ios - Adding RealmSwift as a subproject: Missing required modules: 'Realm.Private', 'Realm' -


so wanted link realmswift in own framework , these steps took:

  1. add realmswift subproject

    enter image description here

  2. link framework:

    enter image description here

  3. add dependency

    enter image description here

  4. import realmswift swift file:

    enter image description here

and got error: missing required modules: 'realm.private', 'realm'. how can solve issue? thanks!

you'll need add /path/to/realmswift.framework/frameworks “framework search paths” section in build settings

where /path/to/realmswift.framework location of framework.

this because realmswift.framework depends on realm.framework (where realm , realm.private modules defined), vendored in frameworks directory.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -