Looks like on 10.12 kLSItemInfoIsApplication can be true for URLs that don’t exist. :(
@mjtsai The bug would be that it's returning noErr instead of fnfErr, I suppose. :)
-
-
@mjtsai That said, that API is deprecated. Please use NSURLIsApplicationKey instead. -
@grynspan Yeah. Slow at adopting because had lots of problems with those keys when they were first introduced. -
@mjtsai Oof. Well, we've done a lot of work to make them better in the last few releases. 1/2 -
@mjtsai If you are still having trouble with them, please do file radars! 2/2 -
@grynspan They have been better lately, especially if I clear the cache when appropriate. But I’m still deploying to older OS versions. -
@mjtsai I can appreciate backwards-compatibility being a concern. What if you switched to the new APIs if the user is on a newer OS? -
@grynspan That’s generally what I do. - Show more
-
-
@mjtsai Thanks for filing!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Michael Tsai
Jonathan Grynspan