So randomly after several hours of work this morning on my app, Xcode just stopped letting me test my app on my iPhone. But I can still test it in the simulator.
Now
First make sure your certificates haven't expired and then follow the steps listed by king foot:
Move the iOS developer certificate from local to system using Key Chain: