How to clear OSX cached applications? I'm having a very strange bug with an application. I've tried to update it but it keeps showing up the old version. I've tried deleting it too, but when I run open -a MyApplication.app it opens it again, even though I'm sure it's not anywhere. If after that I try to install again the new version, it's still showing the old one.

So I assume OSX is caching it somewhere. Does anybody know where this cache is or how to clear it?
I had the same issue once. I solved it by running AppFresh and scan to check if all apps are updated. When you find the one that gives you trouble, you can right-click and choose Reveal in Finder, and delete it.