we are producing our first single issue publication and have successfully produced and tested a developer viewer (ipa) using viewer builder 1.9.0.
We are now ready to produce the distribution viewer (zip) to send to Apple but we are having issues (we have tried this on a couple of macs).
The process taken is exactly the same as we did for the developer viewer in that we specify in the popup box our p12 dist certificate and its password then our dist mobile provision.
This all seems ok but when we click 'download and sign' nothing happens except for the distribution certificate field in the popup window now has a red border. There is no error message.
We have tried to remake the certificate but this did not work.
Does anyone have an answer?
Thanks for the reply Johannes - I did not know about the hover over message!
It says 'Not finding expected label 'iPhone Distribution:' in this certificate.'
Do we need to restart the distribution certificate process?
Yes, it sounds like this is not the right certificate. you should be able to rebuild that.
if the error is on the distribution mobileprovision, you need to make sure that you made this provisioning file for the app you are exporting (in the provisioning portal at apple).
One more thing. When we add the dist cer file to keychain it doesn't seem to attach itself to a keychain. The developer one does.
If I click on the 'certificates' tab of keychain access I can see our Distribution certificate.
Is there any reason for this. We are following the 'publishing_companion_guide.pdf' step by step.
Are there any other guides that you can recommend or is that the best solution?
Sounds like you are not on the machine where the certificate is created first. you don't have the private key on this machine.
either you obtain the private key from the first machine or create a new certificate on this machine (then no other computer can sign apps).
Does it matter rhat the Adobe pdf says we should download the cer file called 'distribution_identity.cer.' but the file that apple generates is called 'ios_distribution.cer'?
Also, when you mention naming certificates correctly do you mean adding dist and dev to them for easy identitification?
Sorry for more questions!
I've experienced this problem as well. I was able to add the developer cert to the keychain when I double-clicked it, but the dist cert didn't register for some reason. I quit the Keychain Access utility and restarted my computer. Then it worked. Try that.
It sounds like Apple changed some of their file naming conventions recently.
seen this last week with another customer .. keychain was acting up when exporting the certificate to p12.. as if we were not right-clicking on the right spot.
... eventually selected the certificate and then used the menu File>Export Items .. that worked.
Thanks Christophe. To be honest we recreated the certificate from scratch after deleting the keychain BUT also (and this isn't mentioned in the Adobe guide) we also downloaded the 'WWDR intermediate certificate' and added this to keychain first. This fixed the problem.
Europe, Middle East and Africa