No code signature found when install test app into iphone

Thanks Jedi for your summery. I have struggled most of the day with the same problem. When I deleted the duplicate certificates it finally worked.