Can't compile existing project with new #Preview macros. Get: 'Preview' is only available in application extensions for iOS 17.0 or newer
And because macros generate struct I can't use #available to fix this.
Does anyone have any ideas how to fix this?
I guess the only solution is to create new macros that will work like #available(iOS 17) { code } and remove the code for older iOS?