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

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

javascript - Blogger related post gadget image Resize s72-c [ Need Expert Help ] -