Skip to content

Instantly share code, notes, and snippets.

@ShonFrazier
Last active November 4, 2017 23:59
Show Gist options
  • Save ShonFrazier/0edb3bc1cfca09495a697ada722776ab to your computer and use it in GitHub Desktop.
Save ShonFrazier/0edb3bc1cfca09495a697ada722776ab to your computer and use it in GitHub Desktop.
Not finding 'SwiftKueryPostgreSQL' with building
> swift -version
Apple Swift version 4.0.2 (swiftlang-900.0.69.2 clang-900.0.38)
Target: x86_64-apple-macosx10.9
> swift build
Fetching https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git
Fetching https://github.com/IBM-Swift/Kitura-WebSocket.git
Fetching https://github.com/IBM-Swift/Kitura.git
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/BlueSSLService.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
Fetching https://github.com/IBM-Swift/CommonCrypto.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
Fetching https://github.com/IBM-Swift/LoggerAPI.git
Fetching https://github.com/IBM-Swift/CCurl.git
Fetching https://github.com/IBM-Swift/KituraContracts.git
Fetching https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Fetching https://github.com/IBM-Swift/CLibpq.git
Fetching https://github.com/IBM-Swift/Swift-Kuery.git
Cloning https://github.com/IBM-Swift/CLibpq.git
Resolving https://github.com/IBM-Swift/CLibpq.git at 0.1.2
Cloning https://github.com/IBM-Swift/Swift-Kuery.git
Resolving https://github.com/IBM-Swift/Swift-Kuery.git at 0.13.3
Cloning https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Resolving https://github.com/IBM-Swift/Kitura-TemplateEngine.git at 1.7.2
Cloning https://github.com/IBM-Swift/Kitura.git
Resolving https://github.com/IBM-Swift/Kitura.git at 2.0.0
Cloning https://github.com/IBM-Swift/CommonCrypto.git
Resolving https://github.com/IBM-Swift/CommonCrypto.git at 0.1.5
Cloning https://github.com/IBM-Swift/Kitura-net.git
Resolving https://github.com/IBM-Swift/Kitura-net.git at 1.7.18
Cloning https://github.com/IBM-Swift/CCurl.git
Resolving https://github.com/IBM-Swift/CCurl.git at 0.4.1
Cloning https://github.com/IBM-Swift/BlueSocket.git
Resolving https://github.com/IBM-Swift/BlueSocket.git at 0.12.76
Cloning https://github.com/IBM-Swift/LoggerAPI.git
Resolving https://github.com/IBM-Swift/LoggerAPI.git at 1.7.1
Cloning https://github.com/IBM-Swift/Kitura-WebSocket.git
Resolving https://github.com/IBM-Swift/Kitura-WebSocket.git at 0.9.1
Cloning https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git
Resolving https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git at 1.0.0
Cloning https://github.com/IBM-Swift/BlueSSLService.git
Resolving https://github.com/IBM-Swift/BlueSSLService.git at 0.12.64
Cloning https://github.com/IBM-Swift/KituraContracts.git
Resolving https://github.com/IBM-Swift/KituraContracts.git at 0.0.14
Cloning https://github.com/IBM-Swift/BlueCryptor.git
Resolving https://github.com/IBM-Swift/BlueCryptor.git at 0.8.18
error: product dependency 'SwiftKueryPostgreSQL' not found
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "GameMaster",
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
.package(url: "https://github.com/IBM-Swift/Swift-Kuery-PostgreSQL.git", from: "1.0.0"),
.package(url: "https://github.com/IBM-Swift/Kitura.git", from: "2.0.0"),
.package(url: "https://github.com/IBM-Swift/Kitura-WebSocket.git", from: "0.9.1"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "GameMaster",
dependencies: ["Kitura", "Kitura-WebSocket", "SwiftKueryPostgreSQL"]),
]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment