Xcode 8 "The application does not have a valid signature"

Alexander Vasenin picture Alexander Vasenin · Aug 28, 2016 · Viewed 13.9k times · Source

Xcode 8 throws the following error despite provisioning seems to be fine:

App installation failed. The application does not have a valid signature

How to fix it?

Answer

Alexander Vasenin picture Alexander Vasenin · Aug 28, 2016

It looks like an Xcode 8 bug. Cleaning the project by pressing Command+Shift+K or Product -> Clean fixes it.