Hi,
Generally it happens if there is something wrong with .p12 file. Please go through this tutorial and cross verify each every step given.
It may happen if you are using the private key p12 file, instead you should generate a p12 from your private key and the certificate downloaded from iOS Dev Center. To do this you can follow step-4 of the tutorial.
Let us know if the problem continues.
Thanks