diff --git a/Sources/FoundationX/Intermodular/Extensions/AppKit or UIKit/NSTextAttachment++.swift b/Sources/FoundationX/Intermodular/Extensions/AppKit or UIKit/NSTextAttachment++.swift index 665caa35c6..707b1f966d 100644 --- a/Sources/FoundationX/Intermodular/Extensions/AppKit or UIKit/NSTextAttachment++.swift +++ b/Sources/FoundationX/Intermodular/Extensions/AppKit or UIKit/NSTextAttachment++.swift @@ -11,8 +11,9 @@ import SwiftUI import UIKit #endif -#if compiler(>=6.3) #if canImport(AppKit) +#if compiler(>=6.4) +#elseif compiler(>=6.3) import AppKit /// Fix for Xcode 26.4 because Apple is fucking retarded.