diff --git a/Sources/FeedbackSwift/Bundle+Extensions.swift b/Sources/FeedbackSwift/Bundle+Extensions.swift index 624607b..a8ecd46 100644 --- a/Sources/FeedbackSwift/Bundle+Extensions.swift +++ b/Sources/FeedbackSwift/Bundle+Extensions.swift @@ -18,7 +18,7 @@ extension Bundle { } static var platformNamesPlistPath: String? { - #if SWIFT_PACKAGE && swift(>=5.3) + #if SWIFT_PACKAGE let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle, Bundle.module] #else let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle] diff --git a/Sources/FeedbackSwift/Functions.swift b/Sources/FeedbackSwift/Functions.swift index 2e2e16e..83b4bf6 100644 --- a/Sources/FeedbackSwift/Functions.swift +++ b/Sources/FeedbackSwift/Functions.swift @@ -9,7 +9,7 @@ import UIKit import UniformTypeIdentifiers func localized(_ key: String) -> String { - #if SWIFT_PACKAGE && swift(>=5.3) + #if SWIFT_PACKAGE let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle, Bundle.module] #else let bundles: [Bundle] = [Bundle.main, Bundle.feedbackBundle]