Upgrade testing for iOS - application-identifier entitlement does not match

后端 未结 7 2064
我在风中等你
我在风中等你 2020-12-16 01:40

Previously with Xcode 7.3.1 I was able to build directly over my app store app on my iPad and test the upgrade scenario, which worked perfectly fine. This week I upgraded to

相关标签:
7条回答
  • 2020-12-16 01:50

    Select the App Target and click on General, if you select or ticked checkbox automatically manage signing.

    Untick this automatically manage signing and select appropriate signing provisioning profile and #Build and run again.

    See the below photo.

    0 讨论(0)
  • 2020-12-16 01:53

    To fix this just enable "Automatic manage signing" from general tab of project settings.

    I had also problem for running app on my device directly from xcode 8. Deleting and generation profile and certificate did not worked for me. But enabling "Automatic manage signing" worked for me.

    Hope this helps!

    Check this question of mine: Xcode 8 shows error that provisioning profile doesn't include signing certificate

    0 讨论(0)
  • 2020-12-16 01:53

    Here is one solution if you want to upgrade over your existing App Store app without deleting it but your application-identifier entitlement does not match. Upload an archive of your new build to the App Store and then use TestFlight to download it to your device. This is not as quick as building to the device, but it will overwrite your old app with your new build while keeping your old data in place. For (relatively) quicker turn-around testing of your upgrade process once you have a new build available on TestFlight:

    1. Delete your app off of your device (assuming it was a recent build)
    2. Download your app store build and generate some data
    3. Download your TestFlight build, but don't run it
    4. Build your newest build directly to the device

    The TestFlight build overwrites the entitlement without deleting the old data, so Xcode happily will install your new build over the TestFlight build, but you are still testing your upgrade process as if you were building directly on top of the App Store version of your app.

    0 讨论(0)
  • 2020-12-16 01:56

    Solved!! Short answer - delete old app from your iPhone I went to my iPhone storage and used the search bar to find the offending app(because it wasn’t showing on the app list) and found an old version hidden, deleted it and now it works.

    0 讨论(0)
  • 2020-12-16 02:05

    I got this from an .ipa generated as a Jenkins artefact. The problem for me was that Jenkins was using a different provisioning profile.

    I manually set Jenkins to use the same profile as the updated version that I was trying to install, and it started working.

    0 讨论(0)
  • 2020-12-16 02:07

    Remove the existing application from the device and Run again.

    0 讨论(0)
提交回复
热议问题