diff --git a/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift b/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift index 410ef72..7ff1801 100644 --- a/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift +++ b/Sources/NSAttributedStringBuilder/Components/ImageAttachment.swift @@ -1,8 +1,5 @@ #if canImport(UIKit) import UIKit -#elseif canImport(AppKit) -import AppKit -#endif public typealias ImageAttachment = NSAttributedString.ImageAttchment @@ -28,3 +25,4 @@ extension NSAttributedString { } } } +#endif