"无法下载应用程序.<应用名称>此时无法安装" [英] "Unable to download application. <Appname> could not be installed at this time"

查看:41
本文介绍了"无法下载应用程序.<应用名称>此时无法安装"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在快死了.我已经尝试了大约 2-3 周来解决该问题,但仍然没有结果.希望任何人都能够帮助我:

I'm almost dead now. I've been trying for about 2-3 weeks to fix that problem, but still no result. Hope anyone is able to help me:

我正在使用 Titanium Studio 编写 iOS 应用程序.直到 Mac OS X 10.6.8 和 Xcode 4.2 一切正常.我完全能够在 Xcode 中构建应用程序并在我们的企业内部部署它们.现在我已经使用 Xcode 4.5 升级到 OS X 10.8.2,然后我们开始......应用程序仍然可以在 iOS 模拟器上构建和运行,但是如果我现在尝试在某些设备上获取应用程序,我会收到一条消息 无法下载应用程序.-Appname- 此时无法安装".这可以通过 OTA 分发和使用 USB 电缆的 iTunes 实现.

I'm writing iOS Apps with Titanium Studio. Until Mac OS X 10.6.8 with Xcode 4.2 everything worked just fine. I was perfectly able to build apps in Xcode und deploy them In-House in our Enterprise. Now I've upgraded to OS X 10.8.2 with Xcode 4.5 and there we go... Apps can still be built and are runnable on the iOS Simulator, but if I try now to get the app on some devices, I get a message "Unable to download application. -Appname- could not be installed at this time". This happens either through OTA distribution and through iTunes with an USB Cable.

我几乎搜索了整个互联网,但我发现的所有内容都不起作用.但如果我真的尝试通过 Xcode 部署应用程序,它仍然可以工作.

I've searched almost the entire internet, but all I've found didn't work at all. But if I actually try to deploy the application through Xcode it works though.

是否与那些配置文件和证书有关?我已经尝试撤销它们等等,但没有任何帮助.我还安装了全新的 OS X,这样我就有了一个干净的钥匙串.结果一样.

Does it have something to do with those Profiles and certificates? I've already tried to revoke them and so on, but nothing helped. I also installed OS X completely new, so that I have a clean keychain. Same result.

真的非常感谢任何形式的帮助.谢谢!

Would really really appreciate any kind of help. Thanks!

推荐答案

我终于找到了解决方案,当我尝试手动签署应用程序时,控制台抛出错误消息,帮助我再次修复它.

Finally i found a solution, when i tried to sign the App manually, the console threw an Error message that helped me to fix it again.

问题开始于我升级到 Mountain Lion 并且不得不将 xCode 更新到 4.5.2

The Problem started when i upgraded to Mountain Lion and had to update xCode to 4.5.2

也许它可以帮助那些在网上搜索了几天后仍然找不到解决方案的人

Maybe it helps others who still couldn't find a solution after several days of searching the internet

  1. 解压 Ipa解压Application.ipa

删除_CodeSignaturerm -r "Payload/Application.app/_CodeSignature" "Payload/Application.app/CodeResources" 2>/开发/空|真的

delete _CodeSignature rm -r "Payload/Application.app/_CodeSignature" "Payload/Application.app/CodeResources" 2> /dev/null | true

如果没有正确的配置文件,请替换它cp "ProvisioningProfile.mobileprovision" "Payload/Application.app/embedded.mobileprovision"

if there isn't the right provisioning profile, replace it cp "ProvisioningProfile.mobileprovision" "Payload/Application.app/embedded.mobileprovision"

当我尝试手动退出应用程序时,我的问题是这个错误:目标文件格式无法识别、无效或不合适"

The problem for me was this error when i tried to resign the app manually: "object file format unrecognized, invalid, or unsuitable"

修复它:

导出 CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"

退出应用/usr/bin/codesign -f -s "iPhone Distribution: Company Name" --resource-rules "Payload/Application.app/ResourceRules.plist" "Payload/Application.app"

压缩zip -qr "Application.resigned.ipa" 有效载荷

感谢

  1. 这个问题关于如何手动签署应用,
  2. 让我出错的控制台
  3. 这个帖子帮助我修复了错误
  4. 苹果让我们的生活太难了
  1. This Question on how to sign an app manually,
  2. the console which got me the error
  3. This Post which helped me to fix the error
  4. Apple which makes our lives too hard

<小时>

更新似乎代码签名的位置发生了变化.新路径是


Update It seems the location for codesigning has changed. The new path would be

export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate"  

取自这个答案

这篇关于&quot;无法下载应用程序.&lt;应用名称&gt;此时无法安装"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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