vtkCocoaGLView uses deprecated kUTTypeFileURL API
and
trigger warnings
extern const CFStringRef kUTTypeFileURL API_DEPRECATED("Use UTTypeFileURL instead.", ios(3.0, 15.0), macos(10.4, 12.0), tvos(9.0, 15.0), watchos(1.0, 8.0));
Updating to UTTypeFileURL
looks doable, but I am not sure how to handle this for previous versions / check if the new API is available. Hit it on macOS compilation for sdk 12.x (edit: arm64, monterey, Xcode 13 if relevant). Is there an #ifdef
equivalent or something?
CC @seanm of possible interest.
Edited by Stephen McDowell