
{"id":274,"date":"2011-10-05T15:57:46","date_gmt":"2011-10-05T15:57:46","guid":{"rendered":"http:\/\/www.starcoder.com\/wordpress\/?p=274"},"modified":"2021-10-30T19:54:46","modified_gmt":"2021-10-30T19:54:46","slug":"when-the-app-store-thinks-an-app-is-installed-when-it-really-isnt","status":"publish","type":"post","link":"https:\/\/www.starcoder.com\/wordpress\/2011\/10\/when-the-app-store-thinks-an-app-is-installed-when-it-really-isnt\/","title":{"rendered":"When the App Store thinks an app is installed when it really isn&#8217;t"},"content":{"rendered":"<p>I was trying to figure out a problem where the Mac App Store incorrectly thought an application was installed on my Mac.  For the life of me, I couldn&#8217;t figure out why it thought that app was installed when it wasn&#8217;t.  I tried deleting caches, restarting the Mac, Spotlighting for all apps with that name, all to no avail.<\/p>\n<p>It ended up the problem was from the LaunchServices database.  The App Store checks LaunchServices to see which apps are installed.  Apparently LaunchServices still had a record of an application bundle even though it had been deleted.  Here&#8217;s how to use the Terminal to check and see which apps are in the LaunchServices database:<\/p>\n<p><code>\/System\/Library\/Frameworks\/CoreServices.framework\/\\<br \/>\nVersions\/A\/Frameworks\/LaunchServices.framework\/Versions\/\\<br \/>\nA\/Support\/lsregister -dump<\/code><\/p>\n<p>If you search through that verbose output and find an app that isn&#8217;t really there, you should rebuild the LaunchServices database. You can do that with the following command:<\/p>\n<p><code>\/System\/Library\/Frameworks\/CoreServices.framework\\<br \/>\n\/Versions\/A\/Frameworks\/LaunchServices.framework\/Versions\\<br \/>\n\/A\/Support\/lsregister -kill -r -domain local -domain system -domain user<\/code><\/p>\n<p>Hope this saves someone an hour or two of problem-solving\u2026<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was trying to figure out a problem where the Mac App Store incorrectly thought an application was installed on my Mac. For the life of me, I couldn&#8217;t figure out why it thought that app was installed when it wasn&#8217;t. I tried deleting caches, restarting the Mac, Spotlighting for all apps with that name, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-274","post","type-post","status-publish","format-standard","hentry","category-macintosh","post-preview"],"_links":{"self":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/comments?post=274"}],"version-history":[{"count":6,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/274\/revisions"}],"predecessor-version":[{"id":565,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/274\/revisions\/565"}],"wp:attachment":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/media?parent=274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/categories?post=274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/tags?post=274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}