'exp fetch:ios:certs' && 'exp build:ios'


#1

I’m currently trying to deploy a new build with “sdkVersion”: “25.0.0”, however I’m having many issues.
I have an Admin account on the Apple Enterprise Program.
When I try to do run exp build:ios I let Expo handle all credentials but in the end I get the following error:

[exp] Error while gathering & validating credentials
[exp] {}
[exp] Reason:You are not allowed to perform this operation.  Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support You are not allowed to perform this operation.  Please check with one of your Team Admins, or, if you need further assistance, please contact Apple Developer Program Support. https://developer.apple.com/support

I am admin so I really don’t know what this could refer to.

If I try specifying my own p12 Dist and Push certificates then I get this kind of error:

[exp] Error while gathering & validating credentials
[exp] {}
[exp] Reason:No cert available to make provision profile against, raw:"Make sure you were able to make a certificate prior to this step"

And if I try running the command exp fetch:ios:certs I get the following error:

[exp] Retreiving iOS credentials for @community/AppName
[exp] Unable to fetch credentials for this project. Are you sure they exist?

I would greatly appreciate some guidance, I think I am doing something wrong but don’t know what it is.


#2

Found a solution. Even though exp was correctly creating the missing distribution certificates and push certificates for me, it was somehow having a hard time with the provisioning profile. After numerous trials, what worked was to create my certificates and the provisioning profile. Then choose the ‘I will provide all the credentials and files needed, Expo does limited validation’ option in ‘exp build:ios’.
Guides used to create the certificates:

Maybe this could be included in the documentation to make life easier for users.


#3

@stefanos Hi there,

‘exp build:ios’ has a flag --apple-enterprise-account that will make things as enterprise and you won’t get that Reason:You are not allowed to perform this operation. message.


closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.