由于应用程序标识符权限,应用程序安装失败 [英] App installation failed due to application-identifier entitlement
问题描述
由于应用程序标识符权限,我无法安装watchOS 2 WatchKit应用程序。这是在功能选项卡中打开应用程序组后发生的。
I am unable to install a watchOS 2 WatchKit app due to an application-identifier entitlement. This happened after turning on App Groups in the Capabilities tab.
完整错误:
应用安装失败
此应用的应用标识符授权与已安装的应用的授权不匹配。这些值必须匹配才能允许升级。
This application's application-identifier entitlement does not match that of the installed application. These values must match for an upgrade to be allowed.
这是在物理设备上以调试模式运行应用程序。只运行iOS应用程序就可以了。
This is running the app in debug mode on a physical device. Running just the iOS app works fine.
我再次关闭App Groups并删除了添加的权利文件,但错误相同。
I have turned App Groups off again and removed the entitlements files that were added, but same error.
推荐答案
我在iPhone应用程序中遇到此问题,并使用以下步骤修复它。
I had this problem with an iPhone app, and fixed it using the following steps.
- 连接设备并打开Xcode,选择Window-> Devices
- 在左侧弹出窗口的选项卡,选择您的问题设备
- 在右侧的详细信息面板中,从已安装的应用列表中删除有问题的应用。
在我这样做之后,我的应用程序重建并启动就好了。由于您的应用是watchOS应用,我不确定您会得到相同的结果,但值得一试。
After I did that, my app rebuilt and launched just fine. Since your app is a watchOS app, I'm not sure that you'll have the same result, but it's worth a try.
这篇关于由于应用程序标识符权限,应用程序安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!