Broken `static_cast` from `NSURL*` to `CFURLRef`
Consider the code at the bottom. I am convinced it’s broken and should not compile. Line 224 has a static_cast
from NSURL*
to CFURLRef
with no bridging which I believe will break the reference count. Line 42 even enforces the use of ARC which should statically detect such a cast and result in a hard compilation error.