Can anyone help me on this

While opening my app Im getting this error

An internet connection is required for the trust for this. This app will not be available until the verification is complete.


This happens when the phone has no wifi or 3G/4G signal.

This worked for me.
1. Stop debugging.
2. Close Settings app (double tap on home and swipe up).
3. Open Settings app again and got to General->Device Management-> Verify.

step Guide: https://www.imyfone.com/iphone-tips/how-to-trust-an-app-on-iphone/

Hope this helps!