我正在使用PerfectlySoft Perfect-Notifications并尝试通过以下方式导入它:
.Package(
url:"https://github.com/PerfectlySoft/Perfect-Notifications.git",
majorVersion: 2)
但我总是收到以下错误:
Packages/PerfectNotifications-2.1.2/Sources/NotificationPusher.swift:278:8: error: value of type 'NetTCPSSL' has no member 'initializedCallback'
还有其他方法可以导入和使用它吗?或者其他方式从 swift 服务器发送推送通知?