A whole bunch of FileHandle methods are marked as deprecated, and rightly so - they can trigger exceptions, but aren't marked with 'throw' - which has just bitten me in production.
For instance, here: Apple Developer Documentation.
However, because they're marked with "@available(...., deprecated: 100000.0)" you don't get any warnings. I found a thread here Don't see any deprecation warning, due to "deprecated: 100000.0"? What's the rationale for marking it this way?! suggesting you bump the iOS target to 100000.0 to show up the warnings but I get
The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 100000.0, but the range of supported deployment target versions is 9.0 to 15.0.99.
which seems to prevent any of those warnings being shown. Is there any way I can actually get these flagged to me? Many thanks