I have a shared framework that needs to be used by iOS and tvOS, but I want to selectively import a framework for iOS only (CoreTelephony). The swift grammar says you can prepend an attribute, but this doesn't work:
@available(iOS 10.0, *) import CoreTelephony
Is this simply not supported? Do I need to subclass just to import the iOS specific framework?