I am trying to launch my app on device. It is launching successfully on the simulator.
Below are 2 awesome hacks that have not been mentioned yet:
HACK #1:
Lock your phone, press XCode start, wait till XCode says "unlock your device to launch", then unlock your phone, it will be launched successfully, works every time.
HACK #2:
If your goal is just to debug the app, here is another simple and straight-forward approach:
This works well for me, and it saves lots of time. I hope this helps, thanks!