ios 无法下载应用程序,<应用程序名称>不能在这个时候装
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12462385/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Unable to download application, <app-name> could not be installed at this time
提问by Logan Serman
I am getting this error when trying to install an app to a device. I've been dealing with code signing errors for the last 3 days, and now this.
尝试将应用程序安装到设备时出现此错误。过去 3 天我一直在处理代码签名错误,现在这个。
My app is using a distribution certificate and mobile provisioning profile. It is uploaded to a build server where it is passed as a successful build with no code signing errors. The server generates an application download link which I am using on my device to download the app, where I am getting the error:
我的应用程序正在使用分发证书和移动配置文件。它被上传到一个构建服务器,在那里它作为一个成功的构建传递,没有代码签名错误。服务器生成一个应用程序下载链接,我在我的设备上使用该链接下载该应用程序,在那里我收到错误消息:
Unable to download application, <app-name> could not be installed at this time
Unable to download application, <app-name> could not be installed at this time
- My app is using a valid distribution certificate
- My app is using a valid distribution provisioning profile
- The build server passed the app with no code signing errors
- 我的应用程序正在使用有效的分发证书
- 我的应用正在使用有效的分发配置文件
- 构建服务器通过了应用程序,没有代码签名错误
From what I understand, the app should be able to run on any device as it is using the distribution certificate and profile. Other apps that I've worked on work fine with this method. Does anyone have a clue why my app can't be installed?
据我了解,该应用程序应该能够在使用分发证书和配置文件的任何设备上运行。我使用过的其他应用程序可以很好地使用这种方法。有没有人知道为什么我的应用程序无法安装?
回答by Durai Amuthan.H
Most common causes of this issue:
- Device storageis full
- The provisioning profileis a developer provisioning profile
- The ad hoc distribution provisioning profile is corruptedand the device is having an issue with it.
- The device was restored from a backupand is causing a conflict for over-the-air distribution
- There was a network timeout
- Architecture settings of the build and the deviceare incompatible ( can sometimes happen when "Build Active Architecture Only" is on when building).
- Not Using Mobile Safari.
To find out the exact cause of this issue:
- Connect the device with iMac.
- Open Organizerthen choose devices.
- Choose your Connected devicefrom sidebar.
- Choose Consoleinside the chosen device.
- Now install the appit will show the exact cause of problem
此问题的最常见原因:
- 设备存储空间已满
- 该供应曲线是一个开发的provisioning profile
- 临时分发配置文件已损坏,设备出现问题。
- 该设备已从备份中恢复,并导致无线分发冲突
- 有一个网络超时
- 构建和设备的架构设置不兼容(有时会在构建时启用“仅构建活动架构”时发生)。
- 不使用移动版 Safari。
要找出此问题的确切原因:
- 将设备与iMac连接。
- 打开管理器,然后选择设备。
- 从侧边栏中选择您的连接设备。
- 在所选设备内选择Console。
- 现在安装该应用程序,它将显示问题的确切原因
回答by basvk
Is your app build with a valid enterprise/in-house distribution profile/certificate?
您的应用程序是否使用有效的企业/内部分发配置文件/证书构建?
If so: Attach the device to your mac and start xcode. Then open the organizer (CMD + SHIFT + 2) and read the device's console while installing the app. Maybe that clears things out
如果是这样:将设备连接到您的 mac 并启动 xcode。然后打开管理器(CMD + SHIFT + 2)并在安装应用程序时读取设备的控制台。也许这可以解决问题
回答by Fostah
Make sure your iOS versionis compatible with the app you are installing.
确保您的iOS 版本与您正在安装的应用程序兼容。
I saw this issue happen when a user was installing an iOS 8only app on an iOS 7device.
当用户在iOS 7设备上安装仅限iOS 8 的应用程序时,我发现此问题发生。
Also, if you tried to install the application on iOS 7 and it failed due to being an incompatible version and then you upgraded to iOS 8, you will need to do the following:
此外,如果您尝试在 iOS 7 上安装该应用程序,但由于版本不兼容而失败,然后您升级到 iOS 8,您将需要执行以下操作:
- Download iExplorer (http://www.macroplant.com/iexplorer/)
- Plug your device
- Delete all the files in "Media > Downloads"
- Restart device
- 下载 iExplorer ( http://www.macroplant.com/iexplorer/)
- 插入您的设备
- 删除“媒体 > 下载”中的所有文件
- 重启设备
There's an iOS bug where it leaves behind the bundle ID and it will fail silently not allowing you to install the app after you upgrade.
有一个 iOS 错误,它会留下捆绑 ID,并且会在升级后静默失败,不允许您安装应用程序。
回答by max_
Apple really needs to work on provisioning files.
Apple 确实需要处理配置文件。
In the docs, it says that the app must firstly be signed with the development provisioning profile and then the distribution provisioning profile upon archival of the file for distribution. However, I found it to work by using the development provisioning file for both the code signing and archival signing instead.
在文档中,它说应用程序必须首先使用开发配置文件签名,然后在分发文件存档后使用分发配置文件签名。但是,我发现它可以通过将开发配置文件用于代码签名和存档签名来工作。
You really need to play around with the provisioning files and see which works for you.
您确实需要使用配置文件,看看哪个适合您。
回答by robro
Had this problem lately and went nuts. Settings for iOS version, device type (iPhone, iPad) were correct... still the app wouldn't download/install.
最近有这个问题并且发疯了。iOS 版本、设备类型(iPhone、iPad)的设置是正确的...仍然无法下载/安装该应用程序。
A simple reboot fixed it!
一个简单的重启修复了它!
回答by Ariven Nadar
For me this error occurred when i distributed my app as inHouse App,
对我来说,当我将我的应用程序作为 inHouse 应用程序分发时发生了这个错误,
The reason for the error was while exporting ipa file i used the option
save for Ad Hoc Deploymentbut it actually should be save for Enterprise Deployment
错误的原因是在导出 ipa 文件时我使用了选项
save for Ad Hoc Deployment但实际上应该为 Enterprise Deployment 保存
And also from iOS 10 you need to give some string for permission eg, For "Privacy - Camera Usage Description" add string as "This app requires access to the Camera."
此外,从 iOS 10 开始,您需要提供一些字符串以获得许可,例如,对于“隐私 - 相机使用说明”,将字符串添加为“此应用程序需要访问相机。”
回答by Ahmed Elashker
Finally and after a lot of trouble I was able to fix this issue.
最后,经过很多麻烦,我能够解决这个问题。
I'm working with Xamarin. The issue appeared after enabling push notifications for my app causing the provisioning profiles to become damaged.
我正在与 Xamarin 合作。为我的应用程序启用推送通知后出现此问题,导致配置文件损坏。
I unchecked push notifications from entitlements.plist (doesn't disable push notifications)
我从 entitlements.plist 取消选中推送通知(不禁用推送通知)
I was cleaning the project and removing profiles all the way
我一直在清理项目并删除配置文件
回答by Dave Kidder
You may be able to determine a problem with the .IPA by attempting to upload it to iTunes Connectand observing if it disallows the upload during validation (ignoring any errors regarding missing images/assets required for the store).
您可以通过尝试将 .IPA上传到 iTunes Connect并观察它是否在验证期间不允许上传来确定 .IPA 的问题(忽略与商店所需的丢失图像/资产有关的任何错误)。
In my case, a Xamarin app that was deployed via HockeyApp was getting the error. Since I wasn't developing the project in Xcode, I used the Application Loader to attempt to upload the IPA to iTunes Connect. The validation failed, with an error regarding a missing required setting in the info.plist. Once I addressed this, I re-deployed via HockeyApp and the app was able to run.
就我而言,通过 HockeyApp 部署的 Xamarin 应用程序出现错误。由于我不是在 Xcode 中开发项目,因此我使用 Application Loader 尝试将 IPA 上传到 iTunes Connect。验证失败,出现关于 info.plist 中缺少必需设置的错误。一旦我解决了这个问题,我就通过 HockeyApp 重新部署,并且该应用程序能够运行。
Instructions for Application Loader can be found here: https://help.swiftic.com/hc/en-us/articles/201574452-Upload-Your-App-to-iTunes-Connect-using-the-Application-Loader
可以在此处找到应用程序加载器的说明:https: //help.swiftic.com/hc/en-us/articles/201574452-Upload-Your-App-to-iTunes-Connect-using-the-Application-Loader
回答by Ravi
Well, I had this issue previously. I would follow the suggestions by @max_ first. But, as trivial as this might sound, make sure that the plist file associated with your .ipa has a proper case in its hyperlink for the ipa. It is case-sensitive.
嗯,我以前有这个问题。我会首先遵循@max_ 的建议。但是,尽管这听起来微不足道,但请确保与您的 .ipa 关联的 plist 文件在其 ipa 的超链接中具有正确的大小写。它区分大小写。
回答by Bancha Rojkittisakul
In .plist file
在 .plist 文件中
do your URL tag include http://
你的 URL 标签是否包含 http://
If you fill in URL tag with "www.somelink.com/....." it will download but get message "Unable to download at this time"
如果您在 URL 标签中填写“www.somelink.com/.....”,它将下载但收到消息“此时无法下载”
You Should fill in "http://www.somelink.com/...."
您应该填写“ http://www.somelink.com/....”
also in Display-image & Full-Size Image
也在显示图像和全尺寸图像中