无法安装ad-hoc ipa MISValidateSignatureAndCopyInfo失败

时间:2012-11-16 08:08:25

标签: ios code-signing xcode4.5 ad-hoc-distribution preflight

我使用CI系统自动构建ipa。

基本上我在构建脚本中调用了这个命令行:

xcrun -sdk iphoneos PackageApplication -v $APP -o $Output --sign "$Company_name" --embed "$Provision_path"

在将xcode更新为4.5.1并将$ Provision_path更改为新路径之前,它运行良好。

之后无法安装ipa,错误如下:

<Error>: 0x1c1000 handle_install: Install of "$apppath.ipa" requested by itunesstored
<Error>: 0x1c1000 MobileInstallationInstall_Server: Installing $appID
<Error>: Nov 16 10:08:31  SecTrustEvaluate  [leaf AnchorSHA1 IssuerCommonName]
<Error>: Nov 16 10:08:33  SecTrustEvaluate  [leaf AnchorTrusted]
<Error>: developer cert trust result = 5
<Error>: 0x1c1000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.EuYJEL/foo_extracted/Payload/name.app/name: 0xe8008018
<Error>: 0x1c1000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.EuYJEL/foo_extracted/Payload/name.app
<Error>: 0x2ff9a000 MobileInstallationInstall: failed with -1
<Error>: 0x1c1000 install_application: Could not preflight application install
<Error>: 0x1c1000 handle_install: API failed

我检查构建日志,上次的时间差是$ SignName

/usr/bin/codesign --force --sign "$SignName" --resource-rules=*** --entitlements *** 

我相信$SignName与命令行中的$Company_name完全相同。

但目前,$SignName类似e38e96a4asfsdd779db94ceasdfg24d9assdf898。 有谁知道可能的问题是什么?

0 个答案:

没有答案