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:

  1. 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.
  2. create ios production certificate:
  3. 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'.
  4. 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:

  1. in apple's member-center, go "certificates, identifiers , profiles", , under "ios apps" choose "devices"

  2. make sure device listed.

  3. go section "provisioning profiles" -> "distribution", click ad-hoc profile , click "edit".

  4. in "certificates" section, make sure distribution certificate checked.

  5. in "devices" section, make sure device checked.

  6. click "generate", re-download , re-build.

good luck.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -