I updated my provisioning profile to include some more devices for Ad-Hoc testing,I added this new profile and removed the old and now I am getting this error:
In my case, deleting a duplicate and invalid certificate in keychain fixed this problem..