error while creating ipa file

#1

Error: validateProvisioningProfile: provisioning profile is not associated with uploaded distribution certificate
at _ensureDeveloperCertificateIsValid (/usr/local/turtle-js/node_modules/xdl/build/detach/IosCodeSigning.js:273:11)
at Object.validateProvisioningProfile (/usr/local/turtle-js/node_modules/xdl/build/detach/IosCodeSigning.js:265:3)
at Object. (/usr/local/turtle-js/node_modules/xdl/build/detach/IosIPABuilder.js:71:51)
at Generator.next ()
at step (/usr/local/turtle-js/node_modules/xdl/build/detach/IosIPABuilder.js:52:191)
at /usr/local/turtle-js/node_modules/xdl/build/detach/IosIPABuilder.js:52:361
at

#2

Hey @aman123,

I would clear the credentials you have with Expo by running the exp build:ios -c --revoke-apple-provisioning-profile command and then going to your Apple Developer portal and ensuring your provisioning file and certs are in order, then try adding your credentials and building again. Some additional flags you can pass to the aforementioned command are --revoke-apple-dist-certs --revoke-apple-push-certs if you want to completely start with a clean slate.

Cheers,

Adam

#3

Thank you very much work;

1 Like
closed #4

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