For what it's worth, availability (@available and #available) very deliberately works this way because of the opposite problem: when Banana ships grillOS, code refuses to compile even though it would work just fine. This happened in practice with tvOS, which is why TARGET_OS_IPHONE is true on tvOS. The lesson we/I learned from this is that for most code it's better to permit attempting to compile on an unknown architecture rather than just give up.
14 Likes