Skip to content

Build fails when both a project and subproject depend on SQLite.swift #324

@0xpablo

Description

@0xpablo

Hello,
I have a project with a subproject both depending on SQLite.swift. Since the 0.9.0 version released the other day, the SQLite3 module. The problem is that since both the project and subproject import SQLite, the SQLite3 module map is redefined, something not allowed by Xcode.

I am using Carthage and while the carthage update/bootstrap command works well, once I try to build my project the following error appears:

ChildProject/Carthage/Checkouts/SQLite.swift/SQLite3/module.modulemap:1:8: error: redefinition of module 'SQLite3'
module SQLite3 [system] {
       ^
ParentProject/ChildProject/Carthage/Checkouts/SQLite.swift/SQLite3/module.modulemap:1:8: note: previously defined here
module SQLite3 [system] {
       ^
<unknown>:0: error: could not build Objective-C module 'SQLite'

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions