Closed muzipiao closed 2 years ago
I've just faced the same issue while installing SQLite.swift via SPM
Seems to still be an issue :( with carthage
These sources should be removed, see #1104
I submitted a PR to fix this. It's just a build-order issue. https://github.com/stephencelis/SQLite.swift/pull/1131
Note that the integration happens via SPM, so I don't see why changes to project.pbxproj
would fix the issue?
@maciekish This fixed manual subproject inclusion for me.
Could somebody using SPM try this change?
Error description:
Choose package products and targets
is operated;+
inTarget -> Build Phases -> Dependencies
to add SQLite dependencies;import SQLite
in Swift file, report this errorMissing 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 causeduplicate symbols
error. I would like to ask how to use SQLite.swift in multiple static libraries, thank you very much!