企业分发在 iPhone 4 上“无法下载应用程序”但在 iPhone5 上有效
Posted
技术标签:
【中文标题】企业分发在 iPhone 4 上“无法下载应用程序”但在 iPhone5 上有效【英文标题】:Enterprise Distribution "Unable to Download App" on iPhone 4 but works on iPhone5 【发布时间】:2014-07-25 16:58:52 【问题描述】:我有一个非常有趣的问题。我浏览了这里关于“无法下载应用程序”的所有帖子,但没有看到任何特定于 iPhone 版本的帖子。我有一个已分发的内部应用程序,正在所有 iPhone5 上运行。但是,当我尝试将其安装到 iPhone4s 上时,出现“无法下载应用程序”错误。这告诉我这不是分发文件(.ipa 或配置文件)问题,而是其他问题?我在尝试下载应用程序时搜索了控制台,但没有看到任何错误。我希望有人能在这里看到我看不到的东西!
这是在尝试安装应用程序时来自带有 ios 7.1.2 的 iPhone4S 的控制台日志(失败):
Jul 25 11:47:57 iPhone itunesstored[105] <Warning>: LaunchServices: installing placeholder for Ashley.Sales.MarketMessaging
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/5136889450095461532.app" requested by itunesstored
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 install_application: Installing placeholder
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.09s; LS Sync: 0.00s; Overall: 0.11s
Jul 25 11:47:57 iPhone itunesstored[105] <Warning>: LaunchServices: updating placeholder for Ashley.Sales.MarketMessaging with icons
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/5136889450095461532.app" requested by itunesstored
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 install_application: Installing placeholder
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.09s; LS Sync: 0.00s; Overall: 0.10s
Jul 25 11:47:59 iPhone itunesstored[105] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder) withPhase:0
Jul 25 11:47:59 iPhone lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
Jul 25 11:47:59 iPhone lsd[77] <Warning>: LaunchServices: installation failed for app Ashley.Sales.MarketMessaging
Jul 25 11:47:59 iPhone itunesstored[105] <Warning>: LaunchServices: installPhaseFinishedForProgress: Ashley.Sales.MarketMessaging.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
相比之下,这是来自 iPhone5s 7.1.2(工作)的日志:
Jul 25 11:53:09 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installing placeholder for Ashley.Sales.MarketMessaging
Jul 25 11:53:09 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/6505358839705877198.app" requested by itunesstored
Jul 25 11:53:09 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:53:09 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 install_application: Installing placeholder
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.16s; LS Sync: 0.00s; Overall: 0.17s
Jul 25 11:53:10 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: updating placeholder for Ashley.Sales.MarketMessaging with icons
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/6505358839705877198.app" requested by itunesstored
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 install_application: Installing placeholder
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Staging: 0.00s; Waiting: 0.00s; Installation: 0.08s; LS Sync: 0.00s; Overall: 0.08s
Jul 25 11:53:10 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder) withPhase:0
Jul 25 11:53:17 KFlynns-iPhone SpringBoard[16] <Warning>: Killing Ashley.Sales.MarketMessaging for app installation
Jul 25 11:53:17 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder)
Jul 25 11:53:17 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder) withPhase:1
Jul 25 11:53:17 KFlynns-iPhone lsd[75] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.550000> to 1
Jul 25 11:53:17 KFlynns-iPhone installd[17] <Notice>: 0x100484000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/6505358839705877198/7224552171467111663" requested by itunesstored
Jul 25 11:53:18 KFlynns-iPhone installd[17] <Notice>: 0x100484000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:53:18 KFlynns-iPhone installd[17] <Notice>: 0x100484000 MobileInstallationInstall_Server: Staging: 0.89s; Waiting: 0.00s; Installation: 0.29s; LS Sync: 0.00s; Overall: 1.19s
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LaunchServices: Updating identifier store
Jul 25 11:53:18 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installPhaseFinishedForProgress: Ashley.Sales.MarketMessaging.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LaunchServices: installation ended for app Ashley.Sales.MarketMessaging
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for Ashley.Sales.MarketMessaging, it may have been removed
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LSInstallProgress: In observeValueForKeyPath:fractionCompleted could not find parent progress for Ashley.Sales.MarketMessaging, it may have been removed
Jul 25 11:53:18 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installPhaseFinishedForProgress: Ashley.Sales.MarketMessaging.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
此时我会尝试任何事情。我只是不明白有什么不同。我点击了完全相同的 URL,它被定向到相同的 d/l,甚至控制台日志也几乎完全相同,直到 iPhone4s 出错为止。
有人有什么想法吗?
【问题讨论】:
这确实是一个奇怪的行为,你能在 7.1.1 的 iPhone 4S 上试一试吗,我想版本可能是唯一的原因,7.1.2 中可能有一个错误,因为它是最近的发布,你可能需要向苹果寻求帮助.. 您是否在 https 上托管文件?几个月前 iOS 7.1.x 之间发生了变化? (不记得确切的版本号)。新的 iOS 版本不会从 http 加载,只能从 https 加载! 感谢大家的cmets!我是从 https:// 加载的,所以我认为这不是问题,但肯定是个好主意。我能够让他们中的一些人工作!他们的手机上似乎还有大约一年前的旧配置文件(它将在 3 天后到期),所以我让他们删除了它并重试安装,它成功了! 你找到解决方案了吗,因为我在 ios8 上遇到了同样的问题 【参考方案1】:他们的手机上似乎还有一个大约一年前的旧配置文件(它将在 3 天后到期),所以我让他们删除了它并重试安装,它成功了!
【讨论】:
以上是关于企业分发在 iPhone 4 上“无法下载应用程序”但在 iPhone5 上有效的主要内容,如果未能解决你的问题,请参考以下文章
通过 WIFI 从 Iphone 到 Iphone 的企业应用分发(无 Web 服务器,无本地网络)