临时分发:无法安装应用 [英] Ad hoc distribution: failed to install app

查看:93
本文介绍了临时分发:无法安装应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个ios应用程序(仅适用于iphone),并试图让其他人对其进行测试.通过Ad hoc分发,我可以在自己的设备上安装该应用程序.当我尝试在其他人的设备上安装时,它总是失败,并显示消息此时无法安装xxxxx".我正在使用xcode5.

I'm developing an ios app (only for iphone) and trying to have other people test it. I have no problem installing the app on my own device through Ad hoc distribution. When I tried installing on another person's device, it always failed with the message "xxxxx could not be installed at this time". I'm using xcode 5.

这是我遵循的步骤:

  1. 将设备的UDID添加到开发人员门户中现有的临时配置文件中
  2. 下载该配置文件并将其拖到xcode组织者中
  3. 在代码签名->供应配置文件->版本下,选择临时供应配置文件.在代码签名标识->发布下,从临时配置文件中选择分发证书.我将配置概要文件(调试)设置为none,并将代码签名身份(调试)设置为'do n't code sign'.
  4. 构建应用程序并创建档案.
  5. 单击管理器中的分发"按钮.选择为企业或临时部署保存",然后选择临时置备配置文件.
  6. 单击导出,然后选中保存以供企业分发".填写应用程序的URL和标题.
  7. 将ipa和plist文件上传到服务器.创建一个索引页面,其中包含指向plist文件的链接.链接如下所示:

  1. Add the device's UDID to the existing Ad hoc provisioning profile in the developer portal
  2. Download that provisioning profile and drag that to the xcode organizer
  3. Under code signing->provisioning profile->release, choose the Ad hoc provisioning profile. Under code signing identity->release, choose the distribution certificate from the Ad hoc profile. I set the provisioning profile (debug) to none and set the code signing identity(debug) to 'don't code sign'.
  4. Build the app and create an archive.
  5. Click the Distribute button in Organizer. Choose "Save for Enterprise or Ad Hoc deployment" and then select the Ad hoc provisioning profile.
  6. Click export and check "save for enterprise distribution". Fill in the application url and title.
  7. Upload the ipa and plist file to a server. Create an index page which contains a link to the plist file. The link looks like this:

 <a href="itms-services://?action=download-manifest&url=http://mydomainname/apps/myappname.plist">Install Application</a>

  • 将索引页的URL发送到测试仪.

  • Send the url of the index page to the tester.

    我错过了什么吗?我尝试删除手机上的所有配置文件,然后通过单击安装应用程序"链接来安装应用程序.我注意到的一件奇怪的事情是,安装在其他人的iphone上的临时配置配置文件的状态是找不到有效的签名身份",而团队显示为未知".我看到有人提到代码签名权利".如果我将其留空,那有关系吗?

    Did I miss anything? I tried deleting all the provisioning profiles on my phone and then had no problem installing the app by clicking the "Install Application" link. One weird thing that I noticed was that the status of the ad hoc provisioning profile installed on the other person's iphone was "Valid signing identity not found", as well as the team shown as "unknown". I saw somebody mentioned "Code signing entitlements". Does that matter if I leave that empty?

    推荐答案

    要尝试的事物:

    1. 检查AdHoc条款是否已勾选您添加到门户的UDID以便使用.添加新的UDID时,可能会忘记使用新的UDID手动更新供应配置文件.
    2. 不要自己创建链接,也不要使用plist.只需将您创建的IPA拖到 http://www.diawi.com/之类的网站上,然后共享该链接与您的测试人员一起.
    1. Check that the UDID you added to the portal is ticked for use under the AdHoc provision. When adding a new UDID it's possible to forget to manually update the provision profile with the new UDID.
    2. Don't create the link yourself and don't use a plist. Just drag the ipa you created to a site like http://www.diawi.com/ and share that link with your tester.

    祝你好运

    这篇关于临时分发:无法安装应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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