TelemetryDeck / SwiftSDK

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

Compilation error when building SDK 2.0+ in Xcode 15.0 #169

Closed Jeehut closed 3 months ago

Jeehut commented 3 months ago

Contrary to Apples documentation (see for example here), it seems some of the properties of a StoreKit.Transaction are NOT available in Xcode 15.0 or earlier. Our SDK currently states it needs at least Swift 5.9 (through the Package.swift manifest format spec) which corresponds to Xcode 15.0, but I just discovered Apple only introduced and back-deployed these fields in Xcode 15.1 (see release notes:

Bildschirmfoto 2024-07-06 um 08 24 59

Thus, a user has reported issues when building in Xcode 15.0: image

This should be fixed to continue supporting Xcode 15.0. The workaround until then is to upgrade to 15.1.