I had another way to solve this problem.
I tried updating my device to the beta version of iOS5 7 ... to test my application in iOS5. As soon as I finished testing, I wanted to return to iOS4.3.5 on my device ...
it took a little pain, but managed to restore it back to the original but then the debugging did not work and received the same error as here.
So, I wanted to see what I see in this picture that you have: and here it is ... A button called "enable for debugging" if I'm not mistaken.
Worked like a charm .... :)
Itay levin
source share