I bounced again in this error when trying to install an app neither on my iPhone and iPad. I applied all the suggested measures to no avail. In particular I removed all the profiles for the app from my iPhone, cleaned the derived folder, restarted the iPhone and Xcode, checked the identity between the profile in the project and in the target (I set automatic in the former), tried removing the Entitlement reference and keeping it and even created a new certificate and provisioning profile; all of this for nothing. Other targets for this project install fine, it works fine on the simulator and submitting it to the app store for TestFlight testing does not create any problem either; so the problem seems just connected to physical debug devices. What else could it be? Sometimes an "unknown error" pops up instead of the invalid signing one after a very long time since ending compilation.I bounced again in this error when trying to in