has a nullable pointer to error for the error argument in the completion handler.
But in macdriver the callback accepts a non-pointer.
i've switched to a more reliable approach of using SetDefaultApplicationAtURLToOpenContentTypeCompletionHandler which lets me just look up the uniform type based on the extension rather than dealing with any files, and I get this error:
Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo={NSUnderlyingError=0x600000c01050 {Error Domain=NSOSStatusErrorDomain Code=-50 "paramErr: error in user parameter list"}}
Fix according to @progrium :
we need to override that method with one that takes a callback that is nullable.
error reported:
Fix according to @progrium :