From 2cdddbff51f29f986078df90e7e3f31d1cf15e61 Mon Sep 17 00:00:00 2001 From: Eugene Goloboyar Date: Thu, 25 Feb 2021 13:33:34 +0200 Subject: [PATCH] Add if can import --- .../Extensions/UIKit+Extensions/UIApplication+Extensions.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/VGSShowSDK/Utils/Extensions/UIKit+Extensions/UIApplication+Extensions.swift b/Sources/VGSShowSDK/Utils/Extensions/UIKit+Extensions/UIApplication+Extensions.swift index 613c47e2..d62a735b 100644 --- a/Sources/VGSShowSDK/Utils/Extensions/UIKit+Extensions/UIApplication+Extensions.swift +++ b/Sources/VGSShowSDK/Utils/Extensions/UIKit+Extensions/UIApplication+Extensions.swift @@ -4,7 +4,9 @@ // import Foundation +#if canImport(UIKit) import UIKit +#endif internal extension UIApplication { static var isRunningUITest: Bool {