TL;DR: Is this supposed to work on the mac?
Installed via the swift package manager using:
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.11.5")
for a Vapor 3 project. A bunch of issues due to the bridging header. I wonder if its how Vapor generates the project or if these headers are just incompatible.

I have the same issue from a swiftpm project, but they only occur in the generated Xcode project, not when building/running from the commandline.
@kiliankoe Same as you. I was wondering why SQLiteObjc is necessary so I removed it and the errors are gone but a new one appear:
Ld /Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Products/Debug/SQLite.framework/Versions/A/SQLite normal x86_64 (in target: SQLite)
cd /Users/ricardopereira/Development/rent-bot
export MACOSX_DEPLOYMENT_TARGET=10.10
/Volumes/Extra/Applications/Xcode10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -dynamiclib -isysroot /Volumes/Extra/Applications/Xcode10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -L/Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Products/Debug -F/Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Products/Debug -F/Volumes/Extra/Applications/Xcode10.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -filelist /Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Intermediates.noindex/rent-bot.build/Debug/SQLite.build/Objects-normal/x86_64/SQLite.LinkFileList -install_name @rpath/SQLite.framework/Versions/A/SQLite -Xlinker -rpath -Xlinker /Volumes/Extra/Applications/Xcode10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -mmacosx-version-min=10.10 -Xlinker -object_path_lto -Xlinker /Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Intermediates.noindex/rent-bot.build/Debug/SQLite.build/Objects-normal/x86_64/SQLite_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-link-runtime -L/Volumes/Extra/Applications/Xcode10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx -Xlinker -add_ast_path -Xlinker /Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Intermediates.noindex/rent-bot.build/Debug/SQLite.build/Objects-normal/x86_64/SQLite.swiftmodule -Xlinker -dependency_info -Xlinker /Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Intermediates.noindex/rent-bot.build/Debug/SQLite.build/Objects-normal/x86_64/SQLite_dependency_info.dat -o /Users/ricardopereira/Library/Developer/Xcode/DerivedData/rent-bot-dbqucvhbyfkekbgqmyvnpxfajbay/Build/Products/Debug/SQLite.framework/Versions/A/SQLite
Undefined symbols for architecture x86_64:
"__SQLiteRegisterTokenizer", referenced from:
SQLite.Connection.registerTokenizer(_: Swift.String, next: (Swift.String) -> (Swift.String, Swift.Range<Swift.String.Index>)?) throws -> () in FTS4.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
UPDATE:
That happens because SQLiteRegisterTokenizer is defined in the SQLiteObjc 😅🤦♂️
Ok, I think it's an SPM issue (more precisely, the swift package generate-xcodeproj command). The SQLiteObjc target is using the default compiler (in my case, Swift compiler). So, you need to change the Clang Build Settings for that target to use C:

And it compiles successfully 🙌
Reported: https://bugs.swift.org/browse/SR-8629
thanks,it works!
Most helpful comment
Ok, I think it's an SPM issue (more precisely, the
swift package generate-xcodeprojcommand). TheSQLiteObjctarget is using the default compiler (in my case, Swift compiler). So, you need to change the Clang Build Settings for that target to use C:And it compiles successfully 🙌
Reported: https://bugs.swift.org/browse/SR-8629