Can't delete apps that are no longer available in App Store I have four apps that are no longer available in the App Store. They're not installed on my phone (which is fine). Every time I connect my iPhone to I get this message in iTunes: "Some of the apps in your iTunes library were not installed on the iPhone because one or more errors occurred."



In iTunes I can search for the app and the icon is grayed out: 



Click Install does nothing.

I've searched for these apps on the App Store and they're not there. How do I remove all four of these apps to avoid getting that message when connecting my phone to my computer?
The apps didn't have .ipa files in my system, which may have been part of the problem. What I ended up doing was a search in iTunes (the global search at the upper right corner of the app) for each one. In the results, there is an icon with three dots, clicking on that icon brings up a contextual menu with the option to delete.

That error message I was getting before no longer appears after that.