SwiftMongoDB icon indicating copy to clipboard operation
SwiftMongoDB copied to clipboard

Cannot build Package with Swift toolchain 2016-7-25(a)

Open sloan-dog opened this issue 8 years ago • 2 comments

/Users/sloan/personal/web-portfolio/Packages/CMongoC.git/Package.swift:8:5: error: argument 'pkgConfig' must precede argument 'dependencies'
    pkgConfig: "libmongoc-1.0"
    ^
Can't parse Package.swift manifest file because it contains invalid format. Fix Package.swift file format and try again.
error: The package at `/Users/sloan/personal/web-portfolio/Packages/CMongoC.git' has no Package.swift for the specific version: 0.1.1 

Trying to build package and am unable to understand this issue, assuming it is swift package manager related. Using 2016-7-25(a) to support Kitura web framework. Building on OSX 10.11.16 with swift build --> targeting my package, of which SwiftMongoDB is a dependancy.

sloan-dog avatar Aug 20 '16 20:08 sloan-dog

That toolchain is currently not supported (as stated in the readme). I will update to a more recent toolchain (probably 08/18) as soon as I can find some time, though.

Danappelxx avatar Aug 20 '16 21:08 Danappelxx

@Danappelxx Thanks for the update!

sloan-dog avatar Aug 24 '16 21:08 sloan-dog