Closed nicolassrod closed 10 months ago
In the latest version (v4), the target of this package has been renamed from ~APNS
~ to VaporAPNS
, hence the error you're getting. Change your dependency declarations in both the app and the test targets to:
.product(name: "VaporAPNS", package: "apns"),
...and the error should go away.
Yes, that worked, I think I think you will have to update the documentation, according to that we have to use a version that does not exist (5.0.0) https://docs.vapor.codes/advanced/apns/
Resolved with https://github.com/vapor/docs/pull/943
Describe the bug
When I tried to use the package from a clean project I get this error
product 'APNS' required by package 'hello' target 'AppTests' not found in package 'apns'.
To Reproduce
I am using steam project generator 4.83.1, just use apns package
Expected behavior
A clear and concise description of what you expected to happen.
Environment