Closed handya closed 4 years ago
Hi @handya. This package will probably only work with Vapor 4. The hang is happening because of the swift tools package versions cc @tanner0101
I can't remember why exactly, and what would be needed to be done, but I don't believe NIO 2 works with Vapor 3.
Vapor 3 is unfortunately based on NIO 1. You'll only be able to use APNSwift together with Vapor 4.
Ok, great, thanks for the info. I'll take a look at Vapor 4.
Theres probably some commits before I went to NIO 2, can't find them currently, and I wouldn't recommend them, cause it's code from April that never went into production.
Going to mark this as closed. Thanks.
After adding
APNSwift
to any of my Vapor 3.0.0 or 3.3.1 projects, using Swift package manger and then updating, half way through updating the packages, Swift package manager will hang and go to 100% cpu. I'm able to build and run APNSwift and Vapor project independently but when adding APNSwift to Vapor it hangs.It also hangs when only adding
swift-nio-http2
to a Vapor project. It did not hang when changing APNSwift dependencies versions to:To Reproduce Steps to reproduce the behavior:
Expected behavior Vapor project should update successfully project.
Platform:
Additional context Hopefully this is just me being dumb and not doing something correctly 🤞