I FINALLY got a solution. I've tried everything in all the threads but this is what worked. I went to XCODE, debug, destinations manage destinations. Then I right clicked my physical device. Went to the installed provisional profiles and deleted the existing ones on my phone. Rerun the build and it worked
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: