Skip to content

Missing required module 'SQLiteObjc' #1079

@muzipiao

Description

@muzipiao

Error description:

  1. I integrated SQLite.swift in the static library through Swift Package Manager, uncheck when Choose package products and targets is operated;
  2. Click + in Target -> Build Phases -> Dependencies to add SQLite dependencies;
  3. When import SQLite in Swift file, report this error Missing required module'SQLiteObjc'.

Since I need to reference SQLite.swift in multiple static libraries, I cannot add it to Link Binary With Libraries, otherwise it will cause duplicate symbols error.
I would like to ask how to use SQLite.swift in multiple static libraries, thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions