我一直在开发/分发iOS iPad应用程序超过一年,但最近遇到了一个问题。当我在iOS 8 iPad和iOS 7 iPad上运行我的代码时,没有任何问题。然后,我切换到我的Enterprise Dist配置文件并创建一个存档。我更新了我的manifest.plist,正确更新了版本号,md5值等。我像往常一样上传所有内容,当我在iOS 8设备上下载应用程序时,它安装得很好。但是现在当我尝试在我的iOS 7设备上下载时,它会说"等待......"几秒钟后,我收到错误消息,"无法下载App" MyAppName"目前无法下载"。
我不明白为什么我以前从来没有遇到过这个问题,而且为什么它在其他设备上安装得很好也没有意义。
非常感谢任何想法或帮助!
iOS 7 iPad版: 7.0.4
iOS 8 iPad版: 8.3
Xcode版本: 6.3.2
iOS 7 iPad控制台日志:
Jun 2 12:37:47 Kats-iPad wifid[70] <Notice>: WiFi:[454966667.548617]: Client itunesstored set type to background application
Jun 2 12:37:47 Kats-iPad wifid[70] <Notice>: WiFi:[454966667.550120]: BG Application: Not Present, BG Daemon: Present. Daemons: networkd apsd itunesstored
Jun 2 12:37:47 Kats-iPad wifid[70] <Notice>: WiFi:[454966667.551294]: Already connected to softwareCompany.
Jun 2 12:37:48 Kats-iPad itunesstored[166] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.myCompany.myApp (Placeholder) withPhase:0
Jun 2 12:37:48 Kats-iPad lsd[135] <Warning>: LaunchServices: Updating installState for parent <NSProgress: phase=Loading; state=Failed; fractionCompleted=0.000000> to LSInstallStateWaiting
Jun 2 12:37:48 Kats-iPad lsd[135] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
Jun 2 12:37:48 Kats-iPad lsd[135] <Warning>: LaunchServices: installation failed for app com.myCompany.myApp
Jun 2 12:37:48 Kats-iPad itunesstored[166] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.myCompany.myApp.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
更新:2天我无法安装该应用。今天为了它,它在没有做任何改变后再次尝试,它工作了!很奇怪。仍然不知道为什么它不会安装。
答案 0 :(得分:1)
几个月前我的一个应用程序遇到了同样的问题。
由于某些原因,在iOS 7设备上我无法安装,但在完全重启一台设备后,它才有效。真的不知道为什么,操作系统方面可能出现了错误。
所以我的解决方法是重启设备,但我不知道为什么这对我有用,也许它并不适合所有人。