如何在设备上安装iOS应用程序 [英] How an iOS app is installed on a device

查看:147
本文介绍了如何在设备上安装iOS应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我很想知道iOS应用如何在设备上安装的技术细节。
让我解释一下我的情况,

I'm interested to find out the technical details of how an iOS app installs on a device. Let me explain my situation,


  • 我在服务器上有我的应用程序的.ipa和.plist。我创建了一个下载网页,使用itms-services指向.plist文件。

  • 我尝试在朋友的iPhone上安装应用程序,该应用程序已添加到项目的配置文件中。

  • 该应用程序下载到他的设备,但永远处于等待状态。

我想要要了解应用程序的安装方式,是否将其添加到队列中?如果一个安装问题的应用程序无法安装,这将如何影响我要安装的其他应用程序。更具体地说,我想知道 等待状态是什么意思

I would like to know how an app installs, is it added to a queue? If one app that has an installation problem fails to install, how does this affect other apps that I want to install. More specifically, I want to know what does the 'waiting' state mean?

这个问题不仅仅是发生在我朋友的iPhone上,它在我的iPhone上也是如此。但是,我的iPhone有一个更严重的问题,我无法安装任何应用程序,因为所有应用程序都进入等待状态。

This problem does not only occur on my friend's iPhone, it also does the same on my iPhone. However, my iPhone has a more serious problem, I can't install any apps, because all apps go into the waiting state.

我朋友的iPhone(iPhone 5S)有iOS 7.0.4,我有一个带有iOS 7.0.3的iPhone 4S。

My friend's iPhone (iPhone 5S) has iOS 7.0.4, I have a iPhone 4S with iOS 7.0.3.

编辑03/12/13 - 09:30

以下是尝试安装时的iPhone配置实用程序控制台输出。

Here's is the iPhone Configuration Utility console output during an attempted install.

... itunesstored[102] <Warning>: LaunchServices: installing placeholder for **.***.****.***********
... installd[62] <Notice>: 0x2c3000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/4703876283909900519.app" requested by itunesstored
... installd[62] <Notice>: 0x2c3000 MobileInstallationInstall_Server: Installing app **.***.****.***********
... installd[62] <Notice>: 0x2c3000 install_application: Installing placeholder
... installd[62] <Notice>: 0x2c3000 MobileInstallationInstall_Server: Staging: 0.07s; Waiting: 0.00s; Installation: 0.24s; LS Sync: 0.00s; Overall: 0.38s
... filecoordinationd[128] <Warning>: sandboxing denied subscription to progress on category **.***.****.*********** (bundle id (null), ******-****-*****-*****-*********)

我想 沙盒拒绝订阅类别 部分的进度和 (包ID(null) 是相关错误,但我在Google上找不到关于它们的任何信息,有什么想法吗?

I guess that the sandboxing denied subscription to progress on category part and the (bundle id (null) are the relevant errors, but I can't find any information on them on Google, any ideas?

编辑03/12/13 - 09:39

我还想补充一点,我发现任何相同的错误我尝试从iPhone上的AppStore安装的应用程序。

I would also like to add that I get these same errors for any app that I try to install from the AppStore on my iPhone.

编辑03/12/13 - 09:53

此外,该应用程序通过ad-hoc在运行iOS 5.1.1的旧iPad上安装正常

Also, the app installs just fine via ad-hoc on an old iPad running iOS 5.1.1.

编辑03/12/13 - 16:18

在iTunes中首先进行备份后,然后执行设置 - > Res et - >删除所有内容和设置,应用程序已成功安装!在此之前,我的朋友和我都不能安装任何应用程序(不是我们的应用程序),但现在我们都可以在我们的手机上安装我们的应用程序或任何其他应用程序。
由于这不是一个理想的解决方案,我不知道问题是什么,我不知道等待... 真的意味着什么,我想让问题保持开放。

After making a backup first in iTunes, and then doing a Settings -> Reset -> Erase all content and settings, the app was installed successfully! Before doing this, neither my friend nor I could install any apps (not our app either), but now we both can install our app or any other app on our phones. Since this is not an ideal solution, I don't know what the problem was, I don't know what "Waiting... really means, I want to leave the question open.

推荐答案

我个人使用 iResign 以正确的方式重新签名ipa配置文件。
https://github.com/maciekish/iReSign

I personally use iResign to resign the ipa with the correct provisioning profile. https://github.com/maciekish/iReSign

这使我免于更改 xCode 项目中的配置文件并构建新的存档.ipa可以被多次调用。

That saves me from keep changing the provisioning profiles in the xCode project and build a new archive. The ipa can be resigned multiples times.

我建议在签名文件之前通过在文本编辑器中打开它来查看配置文件,并确保您尝试安装应用程序的设备的UDID on包含在文件中。

I would recommend before signing the file have a look at the provisioning profile by opening it in text editor and make sure the UDID for the device you are trying to install the app on is included in the file.

让ipa使用 Beta Builder 生成plist文件以及一个漂亮的html文件,可以上传到ftp。
< a href =http://www.hanchorllc.com/2010/08/24/introducing-ios-beta-builder/ =nofollow> http://www.hanchorllc.com/2010/08/24 / introduction-ios-beta-builder /

Once you have the ipa use Beta Builder to generate the plist file along with a nice html file which can be uploaded to the ftp. http://www.hanchorllc.com/2010/08/24/introducing-ios-beta-builder/

所以用户现在要做的就是访问他们手机上的网址下载应用程序。

So all the user has to do now is visit a url on their phone to download an app.

除了您的互联网连接死亡之外,您不应该对此方法有任何问题。

You shouldn't have any issues with this method other than your internet connection dying.

这篇关于如何在设备上安装iOS应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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