无线临时分发“无法下载”
我正在尝试在内部向 3 位用户(我自己(iPhone 4)和另外两个用户(iPad 2、iPhone 3G))分发一个 iphone 应用程序以进行 Beta 测试。我的设备也用作开发设备。我遵循了所有 Apple 文档,对应用程序进行了归档,并为企业部署做好了准备。我将其与 .plist 清单文件一起放在我的 Web 服务器上。为了测试它,我将其安装在我自己的设备上(同样是开发设备),并且运行良好。然后我将链接发送给了其他 2 位用户,他们随后报告说他们收到了一条消息,称他们“无法下载”。所以一开始我以为可能是UDID的问题,其实不是。我让我的用户下载了一个 UDID 发送器应用程序,它们完美匹配。就在我问了这个问题之后: .mobileprovision 的 MIME 类型是什么 我想知道 .mobileprovision 文件的 MIME 类型。我获取了此信息,然后还发送了一个指向配置文件的链接。我的两个测试用户都可以很好地下载并安装 .mobileprovision 文件;问题是当他们再次尝试安装该应用程序时。一名用户收到一条消息,显示“无法连接到服务器 www.myserver.com”,而另一名用户则安装了 80% 的应用程序,然后收到“无法下载”消息,并有 2 个选项:“重试”和“完成”。
我不知所措。有人有什么想法吗?我绝望了!提前致谢!
I am trying to distribute an iphone app ad hoc internally for a beta test to 3 users, myself (iphone 4) and two others (iPad 2, iphone 3G). My device served as the development device as well. I followed all of the Apple documentation, archived the app and prepared it for enterprise deployment. I put it on my web server with the .plist manifest file. To test it out, I installed it on my own device (which again, is the development device), and it worked swell. So then I sent the link to my other 2 users, who then reported that they received a message that said they are "unable to download." So first I thought that it might be a problem with the UDID, which it is not. I had my user's download a UDID sender-app, and they matched up perfectly. That was after I asked this question:
What is the MIME type for .mobileprovision
in which I wanted to know the MIME type for a .mobileprovision file. I took this info, and then also sent out a link to the provisioning profile. Both of my test users could download and install the .mobileprovision file fine; the problem was when they again, tried to install the app. One user got a message that said "cannot connect to server www.myserver.com" while the other one installed 80% of the app, before getting the "unable to download" message with 2 options: "retry" and "done."
I am at a loss. Does anybody have any ideas? I am desperate! Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
对于不使用 testflight 的用户,请检查 Summary 页面下的 Deployment Target。也许您将其设置得太高,但这并不总是必要的。
有一次我创建了一个新的应用程序,Xcode 自动为我设置了最新的目标,即 5.1.1,但用户使用的是 5.0.x。我用很小的代码更改(weak->assign)将其改回4.0,然后它就工作了。
For the ones who don't use testflight, check the Deployment Target under the Summary page. Maybe you set it too high, which is not always necessary.
Once I created a new App which Xcode automatically set the latest target for me, which was 5.1.1, but the user was using 5.0.x. I changed it back to 4.0 with very small code change(weak->assign), and then it worked.
尝试使用 TestFlightApp.com。它是免费的,并且基本上有助于自动化进行无线临时测试的过程。
“无法下载”似乎是一条包罗万象的消息,表明出现了问题 - 您的 ipa 和 mobileprovision 文件不匹配,或者您的配置文件不包含正确的 UDID,或者可能只是存在连接问题。
Try using TestFlightApp.com. It's free, and basically helps automate the process of doing over-the-air ad-hoc testing.
"Unable to download" seems to be a catch-all message that something is not right - either your ipa and your mobileprovision file don't match, or your provision file doesn't include the right UDID, or possibly there are just connectivity issues.
我知道现在来帮助你可能已经太晚了,但我也遇到了类似的问题。
该应用程序将下载,然后当我看到“正在安装”时,会出现一个弹出窗口,其中包含OP描述的消息。
asnwear 的目的是从 ipad 中删除配置文件并重新启动设备。
Settings/general/profile/remove
请注意,第一个配置文件是通过电缆从 MacBook 上传到设备的。
I know it's probably too late to help you, but i had a similiar problem.
The application would download, and then when i could see "Installing" there was a popup with message described by OP.
The asnwear was to remove provisioning profile from ipad and restart the device.
Settings/general/profile/remove
As a note, the first provisioning profile was uploaded to device via cable from macbook.
这是问题的另一个例子。在导出 ipa 之前,您应该先注册设备的 UDID。导出ipa后注册UDID的设备,无法下载ipa。
This is an another case of the problem. You should register device's UDID first, before exporting ipa. The devices that registered UDID after exporting ipa, those are unable to download the ipa.