iphone - ios distribution certificate: A valid provisioning profile for this executable was not found -
i unfortunately removed ios distribution certificate of application. want create other 1 have error when build app: app installation failed: valid provisioning profile executable not found.
here process create provisioning profile:
- request certificate:
- in keychain access, choose keychain access > certificate assistant > request certificate certificate authority.
- enter e-mail address , name of apple developer account, save certficatesigningrequest.certsigningrequest.
- create ios production certificate:
- in https://developer.apple.com/account/ios/certificate/, add production app store , ad hoc certificate.
- i use certficatesigningrequest.certsigningrequest of first step , generate certificate.
- create distribution provisioning profile
- in provisioning profile, add app store distribution provisioning profile.
- continue , select app id, production certificate generated in step 2.
- i set name 'myapp distribution'.
- set provisioning profile in xcode
- in xcode, download provisioning profile in xcode > preferences choose team name, click view details , download new provisioning profile.
- in xcode left view, choose project > build settings > code signing , set "don't code sign" each code signing identity.
- for targets, code signing identity debug iphone developer:'my app id' (debug , ios sdk) , release iphone distribution:'my app id' (release ios sdk). provisioning profile debug app development (development provisioning profile) , release app distribution (distribution provisioning profile).
then, when build , run release mode in iphone, have error: app installation failed: valid provisioning profile executable not found.
i think iphone not linked production provisioning profile, nevertheless registered in developer account.
following last hint, suggest try following:
in apple's member-center, go "certificates, identifiers , profiles", , under "ios apps" choose "devices"
make sure device listed.
go section "provisioning profiles" -> "distribution", click ad-hoc profile , click "edit".
in "certificates" section, make sure distribution certificate checked.
in "devices" section, make sure device checked.
click "generate", re-download , re-build.
good luck.
Comments
Post a Comment