alexeyxo / swift-apns

Swift Framework for sending Apple Push Notification over HTTP/2 API
Apache License 2.0
154 stars 20 forks source link

Linux support #8

Open timmyhadwen opened 7 years ago

timmyhadwen commented 7 years ago

/home/ubuntu/X/Server/Packages/APNS-1.2.2/Source/APNSNetwork.swift:10:8: error: no such module 'Security' import Security Seems to fail on Linux sadly :(

jonblatho commented 5 years ago

@timmyhadwen This is late, but importing Security fails on Linux because Security is an Apple framework which they've not made available off of Apple platforms.

Given the decision to use Security, I'd say that it was an intentional decision…or at least one with unintended consequences.