Trying to test Swift 4 using Xcode-beta (v9) on my machine and having issues with importing packages into a test project:
swift packa
Turns out I had to also include the dependencies into the .target of the Package.swift:
.target
.target(named: "sampleproject", dependencies: ["Kitura", "Alamofire"])
and build the project again.