I am trying to launch my app on device. It is launching successfully on the simulator.
I literally restarted my iPad, that was connected for testing the app, and that resolved the issue.