matthijs2704/vapor-apns

Unable to generate Xcode project

Opened this issue · 3 comments

As soon as I add your package the vapor xcode -y command just spins forever. This is what my Package.swift file looks like:

// swift-tools-version:4.0
import PackageDescription

let package = Package(
  name: "dts",
  dependencies: [
    .package(url: "https://github.com/vapor/vapor.git", 
             from: "3.0.0-rc.2"),
    .package(url: "https://github.com/vapor/fluent-postgresql.git",
             from: "1.0.0-rc.2"),
    .package(url: "https://github.com/vapor/leaf.git",
             from: "3.0.0-rc.2"),
    .package(url: "https://github.com/matthijs2704/vapor-apns.git",
             from: "2.1.0")
  ],
  targets: [
    .target(name: "App", dependencies: [
                "FluentPostgreSQL", "Vapor", "Leaf"
            ]),
    .target(name: "Run", dependencies: ["App"]),
    .testTarget(name: "AppTests", dependencies: ["App"])
  ]
)

I think this is because your package doesn't work with Vapor 3...maybe?

Same problem here

JanC commented

same issue here. The verbose build hangs here:

vapor build --verbose
Building Project ...
Updating https://github.com/vapor/core.git
Updating https://github.com/vapor/multipart.git
Updating https://github.com/vapor/routing.git
Updating https://github.com/vapor/fluent.git
Updating https://github.com/vapor/template-kit.git
Updating https://github.com/vapor/sqlite.git
Updating https://github.com/vapor/database-kit.git
Updating https://github.com/apple/swift-nio-ssl-support.git
Updating https://github.com/vapor/vapor.git
Updating https://github.com/vapor/console.git
Updating https://github.com/vapor/validation.git
Updating https://github.com/vapor/crypto.git
Updating https://github.com/apple/swift-nio.git
Updating https://github.com/apple/swift-nio-zlib-support.git
Updating https://github.com/vapor/sql.git
Updating https://github.com/vapor/fluent-sqlite.git
Updating https://github.com/vapor/http.git
Updating https://github.com/vapor/service.git
Updating https://github.com/apple/swift-nio-ssl.git
Updating https://github.com/vapor/websocket.git
Updating https://github.com/vapor/url-encoded-form.git
Updating https://github.com/matthijs2704/vapor-apns.git
Updating https://github.com/vapor/jwt.git
Updating https://github.com/boostcode/CCurl.git
Updating https://github.com/matthijs2704/SwiftString.git
Updating https://github.com/vapor/clibressl.git
Updating https://github.com/vapor/json.git