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

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

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

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

编辑:

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


当前回答

我最近也遇到过类似的事情。我把我的iPhone升级到8.1.3版本,几天前在同一台Mac上安装在同一台iOS设备上的应用程序开始收到来自Xcode的“应用程序无法验证”错误消息。

我从设备上删除了应用,重新启动Xcode,应用随后安装在设备上,没有任何错误消息。不确定删除应用程序是解决问题的方法,还是因为“月相”。

其他回答

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.

我的情况:

iPhone越狱'ed

最终解决方案:

通过Cydia安装调整AppSync统一 绕过签名/证书验证

我最近也遇到过类似的事情。我把我的iPhone升级到8.1.3版本,几天前在同一台Mac上安装在同一台iOS设备上的应用程序开始收到来自Xcode的“应用程序无法验证”错误消息。

我从设备上删除了应用,重新启动Xcode,应用随后安装在设备上,没有任何错误消息。不确定删除应用程序是解决问题的方法,还是因为“月相”。

我也有同样的问题。但是,我意识到我使用的是一个带有(调试)和(发布)配置的plist,就像这样。

所以,我改变了一些东西。

为(发布)保持一个单独的方案。 出于发展的目的,我增加了一个新方案。 编辑新方案>运行>构建配置>并将其设置为(发布) 使用新的方案生成一个新的存档,瞧!! 我可以安装在我所有的设备上。

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