iOS安装错误:应用程序验证失败

4
我已经花了过去的6小时在网上寻找这些错误,我已经阅读并尝试了许多建议的解决方案,但仍然无法解决我的问题。所以希望有人能够指出正确的方向。
我正在使用FDT构建AIR应用程序,我可以使用iOS模拟器进行测试,我可以打包并部署到iTuneConnect,但我只是无法将其推送到我的iPhone上进行测试。我确信我的mobileprovision是正确的(我使用XCode 5检查过),应用程序ID也是正确的,并且p12也很好。
以下是我从XCode控制台获得的日志:
Mar  9 22:27:32 202-436-0338 installd[17] <Notice>: 0x10050c000 MobileInstallationInstall_Server: Installing app com.abcd.bht
Mar  9 22:27:33 202-436-0338 installd[17] <Error>: 0x10050c000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.WPRL4j/foo_extracted/Payload/BHT.app/BHT: 0xe8008015
Mar  9 22:27:33 202-436-0338 installd[17] <Error>: 0x10050c000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.WPRL4j/foo_extracted/Payload/BHT.app
Mar  9 22:27:33 202-436-0338 installd[17] <Error>: 0x10050c000 install_application: Could not preflight application install
Mar  9 22:27:33 202-436-0338 mobile_installation_proxy[142] <Error>: 0x10050c000 MobileInstallationInstallForLaunchServices: failed with -1
Mar  9 22:27:33 202-436-0338 mobile_installation_proxy[142] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Mar  9 22:27:33 202-436-0338 mobile_installation_proxy[142] <Error>: 0x10050c000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x12c5121d0 {Error=ApplicationVerificationFailed, ErrorDetail=-402620395}
Mar  9 22:27:33 202-436-0338 installd[17] <Error>: 0x10050c000 handle_install_for_ls: API failed

Provision file is correct as shown in XCode

1个回答

1

您之前是否在设备上安装过具有相同bundle标识符的应用程序?这也可能会导致问题。因此,您可以尝试:

  1. 从手机中删除所有adHoc应用程序。

  2. Xcode中进行干净的构建。

  3. 仔细检查是否放置了正确的bundle id并选择了正确的配置文件。

  4. 您的设备已添加到配置文件中吗?也许您在开发者门户网站上首先创建了配置文件,然后再添加了设备。(建议再次在开发者门户网站上检查您的设备并重新创建adhoc配置文件。)

  5. 重新安装


是的,我之前已经在我的设备上安装了这个应用,并且我手动删除了它,进行了您上面提到的所有步骤,除了第二步,因为我是使用FDT构建我的应用程序,而不是使用Xcode。 - DT DT

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接