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

后端 未结 7 2065
我在风中等你
我在风中等你 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 02:12

    I had the same issue while trying to upgrade application. And here what I've found:

    I checked application-identifier entitlements of old app and new app. You can do that by running codesign -d --entitlements :- path/to/AppName.app/AppName or open file "archived-expanded-entitlements.xcent" at path "AppName.app/AppName".

    Application-identifier of old app was "1234XXX5X6.com.mycompany.myapp" but in new app it was "1234XXX5X6.com.mycompany.myapp.develop".

    Usually I set "Bundle Identifier" directly in Info.plist.

    But I didn't know that there is also a "Product Bundle Identifier" property in project Build Settings.

    The previous version of app was built with Xcode 7.3.1 and it had following settings:

    • Info.plist: com.mycompany.myapp
    • Build Settings: com.mycompany.myapp.develop
    • application-identifier: 1234XXX5X6.com.mycompany.myapp

    The new version was built with Xcode 8.2.1 and it had following settings:

    • Info.plist: com.mycompany.myapp
    • Build Settings: com.mycompany.myapp.develop
    • application-identifier: 1234XXX5X6.com.mycompany.myapp.develop

    Seems like new Xcode have different source for application-identifier. So I just corrected "Product Bundle Identifier" and my problem was solved.

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