How to find app associated with different Apple ID
So I keep getting a pop up on my iPhone saying to log into a different Apple ID (which I have no idea who it is). My only guess is that one of my friends installed an app under their Apple ID at some point. But now that app has an update, and I keep getting a notification to log in. I have no idea what app this may be though! How can I discover what apps are associated with my Apple ID and someone else's? Thanks guys.