我有两个iphone设备(4s和5)连接到我的电脑,我试图在两个设备上安装一个应用程序。它在iphone 5上安装得很好,但它给出了一个错误“应用程序无法验证”。在试图安装到iPhone 4s设备时。

两个设备的udid都已添加到为应用程序生成的配置配置文件中。

另外,补充说明一下,我刚刚在我的4s设备上把我的iphone版本升级到8.1.3。但我不确定这个错误是否与此有关。

任何帮助在这方面将非常感激。我已经被这个问题困扰了一段时间了。

编辑:

我刚刚把它连接到另一个iPhone设备上,问题似乎又出现了。基本上,这意味着应用程序,出于某种原因,只安装在我已经使用了一段时间的手机,而不是在任何其他手机。同样,我非常确定配置配置文件包含所有这3个设备的udid。


当前回答

只要删除应用程序,然后再试一次,当我尝试在一个设备上启动有相同的应用程序,但由ipa文件生成时,就会发生这种情况。

其他回答

我经常遇到这个问题。我不确定这是否是问题所在,但我认为,当xCode看到有一个应用程序与应用程序的捆绑标识符相同时,我试图安装,它不允许我。所以,我不得不删除旧的,并试图安装,它工作。然而,有时出于测试目的,我需要同一应用程序的多个版本,在这种情况下,我会改变包标识符并尝试安装。只有当我使用通配符配置文件时,它才有效。

应用程序无法验证”,在您的设备中可能已经安装了具有相同bundle标识符的应用程序。

这么简单的解决方案只是删除应用程序,再试一次.. …

我注意到申请无法被验证。Raise up是因为在您的设备中已经安装了具有相同bundle标识符的应用程序。

我遇到这个问题是因为在我的设备上有我从应用商店下载的应用程序。和我测试它的更新版本从Xcode。我使用相同的标识符,是live应用程序和我的开发测试应用程序。所以我只是从我的设备中删除app-store live应用程序,这个错误将被修复。

刚刚也遇到了同样的问题,我发现问题是证书过期了。 我的应用程序通过firebase分发(AdHoc),几天前应用程序工作得很好。 今天我意识到我无法安装它,因为“应用程序无法验证”。

最后我意识到我用于应用程序签名的证书已经过期2天了。 您需要再次上传它,然后才能安装它。

You probably used the "Fix Issue" option in Xcode when plugging in a new device. Old question but I believe this is the actual answer to WHY this is happening. When you install an app on a device it is signed with a specific development provisioning profile. If, for instance, you plug in another device that is not registered on your developer account Xcode will ask you to "fix the issue". When you press that the device is added and another provisioning profile is created/modified. If you try to overwrite an existing app you'll receive that error. Deleting the app and reinstalling it works since the profile has been altered. I find this often happens when a Team is set and a member plugs in a new device then Xcode "Fixes" the problem.