在iPhone中adhoc app安装失败,为什么? [英] adhoc app installation failed in iPhone , why?

查看:747
本文介绍了在iPhone中adhoc app安装失败,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个iPhone应用程序。

I am developing an iPhone application .

由于应用程序是位置感知我在不同的地方测试它(我不在场)。

As the application is location aware I am testing it on a different (where I am not present).

为此我发送给我的朋友一个.mobileprovision配置文件和应用程序adhoc build。

For that I am sending my friend a .mobileprovision profile and the application adhoc build.

但是在他的最后应用程序安装介于两者之间。

But At his end the application installation stops in between .

在设备日志中,它给出了以下日志:

In the device log it gives me the following log :

2:42:30 unknown mobile_installationd[164] <Error>: 00808800 install_embedded_profile: Skipping the installation of the embedded profile
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 verify_executable: Could not validate signature: e8008017
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 preflight_application_install: Could not verify /var/tmp/install_staging.HreENJ/foo_extracted/Payload/RestaurantApp .app/RestaurantApp
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 install_application: Could not preflight application install
Wed Nov 11 12:42:31 unknown mobile_installation_proxy[163] <Error>: handle_install: Installation failed
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 handle_install: API failed
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 send_message: failed to send mach message of 64 bytes: 10000003
Wed Nov 11 12:42:31 unknown mobile_installationd[164] <Error>: 00808800 send_error: Could not send error response to client

所以有人能告诉我这个错误说的是什么,所以安装失败了?

So can anyone tell me what this error says so the installation fails ?

我发现这是一个非常常见且令人沮丧的问题。甚至没有一个人有完美的解决方案。

I found this is a very common and frustrating problem . And not even one has a perfect solution.

苹果技术说明: http://developer.apple.com/iphone/library/technotes/tn2009/tn2242.html

推荐答案

看起来您的配置文件在某种程度上是duff。现在我通常会解决这个问题:

Looks as though your provisioning profile is duff in some way. Here's now I normally work around the problem:


  1. 删除整个构建文件夹。清除所有 应该为您执行此操作,但似乎确实不时留下位

  2. 检查开发人员中心中的设备ID。如果需要,请进行编辑。

  3. 再次下载个人资料。

  4. 再次安装个人资料。

  5. 退出XCode并重新加载。

  6. 确保您已将XCode设置为使用新的临时配置文件而非开发人员配置文件,以用于您将用于的配置的代码签名标识存档。

  7. 构建

  8. 立即获取可执行文件的副本

  1. Delete your whole build folder. Clean All should do this for you but does seem to leave bits behind from time to time
  2. Check the device ID in the Developer Center. Edit it if you need to.
  3. Download the profile again.
  4. Install the profile again.
  5. Quit XCode and reload.
  6. Make sure you've set XCode to use the new, ad hoc profile rather than your developer profile, for the Code Signing Identity of the configuration you will be using for the archive.
  7. Build
  8. Take a copy of the executable straight away

如果有某种方法可以找到哪一步出错,那将会很简洁,但除非发生这种情况,否则通常最好从头开始,除非你有非常耐心(或本地)的测试人员。

It would be neat if there was some way of finding which step went wrong, but until that happens it's usually best just to start from scratch unless you have very patient (or local) testers.

这篇关于在iPhone中adhoc app安装失败,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆