Clear Trusted Computers from the iPhone Settings > Developer and reconnecting the iPhone again in Xcode solved my problem. I have also cleared the cache from ~/Users/username/Library/Developer/Xcode/.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: