This has happened to me as well (more than once). On my Mac I get a KeyChain error indicating my B4i Remote user.
In order to sort it out, I start "playing around" with the various certificates (deleting and creating new ones) and then I get it sorted but honestly I don't remember what steps I do(did) so next time I start "playing again"
Once I created new profiles, I must go into project settings in Xcode and change certificates in the building part...
I also would like to know:
-what happens and which circumstances creates this error in Xcode?
-how can this be avoided?
-what is the exact procedure to resolve it?