Page 1 of 3

Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 4:12 pm
by James Whittaker

FOr some reason I cannot get the IPA to generate when using a DIstribution provisioning profile and certificate. I have created and recreated them several times in case i did something wrong. But no luck. I think I have followed the various tutorials... THe error I get is :

Build error

Most likely build error cause:

Invalid pair of Provision Profile and Certificate. Provisioning profile
was not signed with a given developer certificate.
Please open the project, then go to Project/App Settings/iOS
binary IPA properties to check it.

any ideas? Thanks James


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 4:33 pm
by Alena Prykhodko

Hello,

Please check this post https://getsatisfaction.com/apperyio/...


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 4:42 pm
by James Whittaker

have not spotted anything there that helps. Just to add I have been building the ipa file with no problems on a developer certificate and provisioning profile. but no luck on the distribution ones....


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 4:51 pm
by James Whittaker

something that looks odd is in the resources section where you see the listed certififcates the principal is the same for my dev and distribution certificates. I am sure I have uploaded them correctly and have redone them several times, so maybe the certificate import has not worked correctly ?


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 4:53 pm
by Alena Prykhodko

Please clarify, have you managed to build ipa?


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 4:57 pm
by James Whittaker

For testing yes (developer certificate and provisioning profile)

For realease to App Store - NO
(using Distribution cert + profile)


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 5:50 pm
by James Whittaker

i tseem slike the certificate import is going wrong, my distribution certificate has a different date to my dev one, yet the uploaded "distribution" one in appery has the dev date. I have rexported my p12 several times and retried, same result. Is there a problem with the certificate import?


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 6:09 pm
by Alena Prykhodko

Please check whether your Bundle ID matches Provisioning profile http://devcenter.appery.io/documentat...
And try with Release option checked.


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 6:12 pm
by James Whittaker

as far as i can see yes. Any thoughts on why the imported certificate has the wrong date on it, i am as sure as i can be i am importing the right file... ?

Release option is checked.


Cannot generate IPA file with Distribution profile and certififcate

Posted: Fri Mar 06, 2015 6:26 pm
by James Whittaker

i deleted both of my ios certs in appery, then re-uploaded the Distribution one only, and it still has the date and details of the development one....

So I am confused.