iOS应用'仅在一台设备上无法验证该应用

问题描述:

我有两台iphone设备(4s和5)连接到我的电脑,我正在尝试在两台设备上安装一个应用程序。它在iphone 5中安装得非常好,但在尝试安装到iphone 4s设备时,它会出现错误无法验证应用程序。。

I have two iphone devices( 4s and 5 ) connected to my computer and i am trying to install an application in both the devices. It installs pretty well in iphone 5 but it gives an error 'The application could not be verified.' when attempted to install in the iphone 4s device.

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

The UDIDs of both the devices have been added in the provisioning profile generated for the application.

另外,要添加注释,我刚刚在我的4s设备中将我的iphone版本更新为8.1.3。我不确定错误是否与它有任何关系。

Also, to add a note, I have just updated my iphone version to 8.1.3 in my 4s device. I am not sure though if the error has anything to do with it.

对此的任何帮助都将非常感激。我已经坚持了一段时间了。

Any help on this would be much appreciated. I have been stuck on this for some time now.

编辑:

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

I just connected this to another iPhone device and the issue seems to be there again. Basically this means that the app, for some reason, installs only in the phone which I have been using for some time now and not in any other phone. Once again, I am pretty sure that the provisioning profile contains the UDIDs of all these 3 devices.

最近我发生了类似的事情。我将我的iPhone更新到8.1.3,并且开始在几天前从同一台Mac上安装在同一iOS设备上的应用程序上从Xcode获取应用程序无法验证错误消息。

I had something similar happen to me just recently. I updated my iPhone to 8.1.3, and started getting the 'application could not be verified' error message from Xcode on an app that installed just fine on the same iOS device from the same Mac just a few days ago.

我从设备中删除了应用程序,重新启动了Xcode,随后安装在设备上的应用程序就没有任何错误消息了。不确定删除应用程序是否是修复,或问题是由于月相。

I deleted the app from the device, restarted Xcode, and the app subsequently installed on the device just fine without any error message. Not sure if deleting the app was the fix, or the problem was due to "the phase of the moon".