Contacts are showing up multiple times
I have two Apple phones that share the same iCloud. The contacts from both phones are showing up multiple times in my contact lists. I have gone in manually and deleted them and they reappear. And now some of the contacts only appear for text message contacts and not for calling. How do I get rid of these duplicate contacts and fix the other contacts?
iPhone 12, iOS 15