iOS app 'The application could not be verified' only on one device

前端 未结 15 1692
别跟我提以往
别跟我提以往 2020-12-12 14:09

I have two iphone devices( 4s and 5 ) connected to my computer and i am trying to install an application in both the devices. It installs pretty well in iphone 5 but it give

15条回答
  •  無奈伤痛
    2020-12-12 14:37

    Working & tested solution, which does not require to delete application:

    It looks like AppStore Distribution Provisioning Profile or just iOS Distribution certificate have special permissions and "Could not be verified..." problem does not apply to them. They will always override previous certificate.

    In other words: AppStore release will install successfully, even if already installed (testing, adhoc or enterprise) app has been signed by the certificate from different team.

    If you are lucky and have previously uploaded app to the AppStore account owned by the same team as in certificate you have a problem with - then things are very simple: just download & install app from AppStore.

    When it installs - app certificate will be the same as the one you want to test with and problem goes away.

    If your app is not on the AppStore yet - iTunesConnect beta comes to the rescue:

    Disclaimer: I did not tested this but since cert an prev are the same as AppStore release, I bet it works:

    1. Archive your app with AppStore provisioning profile (iOS Distribution cert) and upload to iTunesConnect (to the account owned by the same developer team as included in the provisioning profile not you want to run).
    2. Invite person with the device you want to run on (yourself?) to beta test.
    3. Download & install the app from iTunes connect beta.
    4. Now you are able to install your testing version.

提交回复
热议问题