mirror of
https://github.com/utmapp/AltKit.git
synced 2026-12-01 07:44:15 -10:00
Swift PM does not have a good way to conditionally include a package. That means that apps targeting a lower OS version cannot import AltKit. As a workaround, we lower the linking version while inserting availability checks into AltKit. Since NWConnection requires iOS 12, we will return an error when trying to connect with iOS 11.