TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
149 stars 31 forks source link

Cannot compile version 1.1.3 on macOS #41

Closed biocross closed 2 years ago

biocross commented 2 years ago

I just upgraded from version 1.0.13 -> 1.1.3, and the SDK fails to compile. I'm using this for a macOS only app, and my deployment target is macOS 10.13+.

The error is in the file Signal.swift for an availability check for the property isiOSAppOnMac

isiOSAppOnMac' is only available in macOS 11.0 or newer

Versions upto 1.1.1 work fine. The issue starts with version >= 1.1.2.

winsmith commented 2 years ago

Yup, I just noticed the same thing in my build 😅 fix incoming

winsmith commented 2 years ago

https://github.com/TelemetryDeck/SwiftClient/releases/tag/1.1.4

biocross commented 2 years ago

Thank you for the quick fix!