You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.
I installed PostgreSQL on my Mac and installed the PostgreSQL provider to my project but after I run my project it says how libpq-fe.h isn't found and also I've noticed the whole CPostgreSQL folder is empty under Dependencies. It also saysCould not build Objective-C module CPostgreSQL I'm guessing that's because the folder is empty. I have no clue how to fix this any any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
The fact that CPostgreSQL is empty is normal, it's a system module so it has no visible sources in Xcode.
But how did you install Postgres? If you install it with Homebrew, and Homebrew is installed in the default location, things should just work. But only then.
Alright after an hour of looking I figured out the solution. Under Dependencies I installed the line .Package(url: "https://github.com/vapor/postgresql.git", majorVersion: 2) .
I installed PostgreSQL on my Mac and installed the PostgreSQL provider to my project but after I run my project it says how
libpq-fe.h
isn't found and also I've noticed the wholeCPostgreSQL
folder is empty underDependencies
. It also saysCould not build Objective-C module CPostgreSQL
I'm guessing that's because the folder is empty. I have no clue how to fix this any any help would be greatly appreciated.The text was updated successfully, but these errors were encountered: