xcode build to iPhone device it has an invalid code signature
I wanted to build my project in my iPhone, I got this error message The operation couldn’t be completed. Unable to launch com.xxxx.test because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted…