Weirdness: Xcode 27.2 and 27.3 beta don't like this combination: @available(anyA...

@gregtitus@social.coop

Weirdness: Xcode 27.2 and 27.3 beta don't like this combination:

@available(anyAppleOS 27.0, *)
@available(iOSApplicationExtension, unavailable)
@available(macOSApplicationExtension, unavailable)
@available(visionOSApplicationExtension, unavailable)

It looks like the extension unavailable markers make the compiler ignore the version availability check, and so there are a bunch of errors about using things in the following struct/method that are only available in os 27.

Has anyone dealt with this and found a workaround? Shouldn't we be able to do both things (restrict to a version and also restrict to not extensions)?