I\'m using AdHoc deploy to deploy my app on an iPad, and I get this error. I\'ve checked out a few questions in SO that say the same, but the solution has always been restart XC
Well, I've restored my iPad to factory defaults. And it seems to work now, so yeah.
EDIT: Please look at @mud's answer below since it solves most cases without a complete restore. In my case that didn't work, so I've accepted this answer.