Closed arron-rgb closed 2 years ago
Just to confirm, is this Swift 5.5?
yes swift 5.5
Strange, it should be working. What version of Swift-Kuery-ORM are you pointing to? If you're using SPM, can you share your Package.swift file?
` // swift-tools-version: 5.5 // The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package( name: "A5", dependencies: [ // Dependencies declare other packages that this package depends on. // .package(url: / package url /, from: "1.0.0"), .package(url: "https://github.com/Kitura/Swift-Kuery-ORM.git", from: "1.0.0"), .package(url: "https://github.com/Kitura/Swift-Kuery-PostgreSQL.git", from: "2.2.0"), ], targets: [ .executableTarget( name: "A5", dependencies: [.product(name: "SwiftKueryORM", package: "Swift-Kuery-ORM"), .product(name: "SwiftKueryPostgreSQL", package: "Swift-Kuery-PostgreSQL")] ) ] ) `
Ah, I see. I added the swift-tools-version to CLibpq. Can you try and see if that works for you?
it works now thanks
Context and Description
When I try to build my project, it returns an error.
I found it is caused by https://github.com/Kitura/CLibpq/blob/master/Package.swift
Environment Details
Swift 5.5 Xcode 13.1
Steps to Reproduce
1) Just followed by this repo's readme
Expected vs. Actual Behaviour