Uninstalled apps still appear in settings
Try this


Back up your iPhone (use a password on the backup)
Wipe your iPhone: settings > General > Reset > Erase All content and Settings
Restore your iPhone from the backup you just created.


The ghost icons should be gone

This whole procedure should take less than an hour. Possibly much less depending on how much needs to be backed up and if your Mac &amp; iPhone support USB3 speeds.