From 4e20446091304759fedd8902c1ba41e729628b4d Mon Sep 17 00:00:00 2001 From: yume190 Date: Wed, 10 Jun 2026 20:43:11 +0800 Subject: [PATCH] Fix NSTextAttachment.character --- .../Extensions/AppKit or UIKit/NSTextAttachment++.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.