SWIFT VAPOR Postgres Xcode Build Error: Unable to build Objective-C Module ‘CPOSTGRESQLMAC’

Add steam postgresql connector to Package. Build error after swift

import PackageDescription

let package = Package(
name: "todo_vapor_swift",
dependencies: [
.Package(url: "https://github.com/vapor/vapor.git", majorVersion : 1, minor: 5),
.Package(url: "https://github.com/vapor/postgresql-provider", majorVersion: 1, minor: 0)
],
exclude: [
"Config",
"Database",
"Localization",
"Public",
"Resources",
]< /pre>

)

Maybe you installed postgress using Postgress.app or other methods. You need to use brew installation to resolve this error.

Run the following command: brew install postgres

Add the steam postgresql connector to the Package . Build error after swift

import PackageDescription

let package = Package(
name: "todo_vapor_swift",
dependencies: [
.Package(url: "https://github.com/vapor/vapor.git", majorVersion: 1, minor: 5),
.Package(url: "https://github.com/vapor/ postgresql-provider", majorVersion: 1, minor: 0)
],
exclude: [
"Config",
"Database",
"Localization",
"Public",
"Resources",
]

)

Maybe you use Postgress.app or other methods installed postgress. You need to use brew installation to resolve this error.

Run the following command: brew install postgres

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 4098 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.