I am trying to launch my app on device. It is launching successfully on the simulator.
Make sure the Provisioning Profile setting in your environment is set to your development profile: Project > Build Settings > Code Signing
Consider setting it in your Target settings and the Pod project (in case using Cocoa Pods).
In case the development profile is not present create or download it: Certificates, Identifiers & Profiles > Provisioning Profiles