From 15fb1b9a1f40b737d3f3461e2410a9d2bbaa245e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cihat=20Gu=CC=88ndu=CC=88z?= Date: Sat, 6 Jul 2024 08:29:24 +0200 Subject: [PATCH] Fix a compilation error in Xcode 15.0 Fixes https://github.com/TelemetryDeck/SwiftSDK/issues/169 --- Sources/TelemetryClient/Presets/TelemetryDeck+Purchases.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TelemetryClient/Presets/TelemetryDeck+Purchases.swift b/Sources/TelemetryClient/Presets/TelemetryDeck+Purchases.swift index e8b9091..c1a847c 100644 --- a/Sources/TelemetryClient/Presets/TelemetryDeck+Purchases.swift +++ b/Sources/TelemetryClient/Presets/TelemetryDeck+Purchases.swift @@ -1,4 +1,4 @@ -#if canImport(StoreKit) +#if canImport(StoreKit) && compiler(>=5.9.2) import StoreKit import Foundation