I have build an .ipa file using expo build:ios and I let expo to handle the process.
Now I need to build another version of the app. By the way I wanted to use the existing distribution certificate which was generated by expo.
So I used expo fetch: ios certs. And saved all the files locally. The prob I am facing is, while build .ipa I have given the local path of .p12 file. But it is asking for password. I dont the password for p12 file. Because it was created by expo. Please help me with this scenario.
When you run expo fetch:ios:certs password was displayed in terminal, there is no way to recover it. You need to generate new distribution certificate and provisioning profile.
By reuse do you mean between different expo apps?
In that case yes, you can do this with expo credentials:manager and I think that build command should also suggest that option if you select “let’s expo handle it”
Above is only correct if distribution certificate is on expo servers, there is no way to download certificate from apple developer portal after creation.
@wkozyra
In my case I build an ios app v1 using expo build: ios. During that time I let the expo to create distribution certificates and Provisioning profiles for my app.
Now I have to build V2 for that application.
I want the already existing distribution cert which was created by expo during V1 build to be used for this V2 build. For that purpose I used “expo fetch: ios certs” command to download all the certificates which was created by expo during V1 build.
While building V2 I can be able to locate the p12 certificate which I downloaded. But it is asking for password.