I cannot seem to be able to archive an app on a new computer. I created new provisioning profiles for distribution and development. I created a new Certificate Signing Req
I had this issue with Xcode 7.2 and an example I downloaded from a tutorial site, and I tried to run this on my iPhone.
For me this simple solution worked :
1) under 'Build settings' -> 'Code signing' : you'll find the 'hard coded' UUID of the original creator -> change this to 'automatic' for both the debug and release:
2) under 'General' -> 'Identity' -> Team : select your provisioning profile. You can also update the bundle identifier if needed.
3) a 'clean' is always a good idea after such changes, then build
this solved the issue for me!