PerfectTemplate icon indicating copy to clipboard operation
PerfectTemplate copied to clipboard

No such module 'libpq'

Open kurtbitner opened this issue 8 years ago • 1 comments

Hello, I cloned PerfectTemplate and added the Perfect-PostgreSQL connector to Package.swift. After I ran swift build and generated the .xcodeproj file, when I try to compile it in Xcode, Xcode complains that there is no such module 'libpq.' It compiles when I build it without the PostgreSQL connector.

Thanks!

kurtbitner avatar Jul 12 '16 00:07 kurtbitner

Hi @kurtbitner - sorry I missed this issue as it was on this repo and not the main... did you regenerate your Xcode project file after adding the postgres connector to the Package.swift file? Swift Package Manager works a little strangely like that.

If still an issue please post the contents of your Package.swift file here and I'll take a look.

Also, don't forget the Gitter room for quicker help! https://gitter.im/PerfectlySoft/Perfect

iamjono avatar Jul 21 '16 13:07 iamjono