Skip to content

Error when using as a package: Missing required module 'SQLiteSessionExtension' #6

@aidaan

Description

@aidaan

Is it possible to use this repo as a swift package? I've added it to a project, but when I attempt to import it using:

import SQLiteChangesetSync

It gives this error:

Missing required module 'SQLiteSessionExtension'

If I attempt to import this module:

import SQLiteSessionExtension

It gives this error:

No such module 'SQLiteSessionExtension'

I see that this directory SQLiteSessionExtension exists in the project, and that it contains a module map for this module. And this module map includes the single sqlite3session.h header file, which I'm guessing is used to expose the functions that support the sqlite session extension. Does this need to be exposed as a separate target in the Package.swift file?

Tested using Xcode 15.4 and 16.0 beta 6.

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