XcodeCould not launch invalid code signature

Error: Could not launch …

The operation couldn’t be completed. 
Unable to launch com..... because it has an invalid code signature, 
inadequate entitlements or its profile has not been explicitly trusted by the user.

on your iOS device go to Settings >> General >> VPN & Device Management and trust your developer there.

Click your developer and click Trust “Apple Developement: <youremailid>”.

Relaunch the app from Xcode again against your iOS device and this time it will work.