首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >企业分销失败

企业分销失败
EN

Stack Overflow用户
提问于 2015-01-16 11:31:51
回答 2查看 432关注 0票数 2

在通过项目服务安装应用程序时,我遇到了问题:“此时无法安装”。

在设备日志中,我可以看到以下内容:

代码语言:javascript
运行
复制
Jan 16 14:26:22 iPad-4 SpringBoard[43] <Warning>: Killing com.organisation.lalala for app installation
Jan 16 14:26:22 iPad-4 itunesstored[81] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x166f6370> com.organisation.lalala (Placeholder)
Jan 16 14:26:22 iPad-4 itunesstored[81] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x166f6370> com.organisation.lalala (Placeholder) withPhase:1
Jan 16 14:26:22 iPad-4 lsd[72] <Warning>: LaunchServices: Updating installState for parent <NSProgress: 0x14ea8780> : Parent: 0x0 / Fraction completed: 0.9800 / Completed: 98 of 100   to LSInstallStateWaiting
Jan 16 14:26:22 iPad-4 lsd[72] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x14ea8780> : Parent: 0x0 / Fraction completed: 0.9800 / Completed: 98 of 100   to 1
Jan 16 14:26:22 iPad-4 installd[36] <Notice>: 0x1d45000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/2254137808045488130/-6393278779922071210" type Customer requested by itunesstored (pid 81)
Jan 16 14:26:23 iPad-4 installd[36] <Error>: 0x1d45000 +[MIInstallable installablesAtURL:packageFormat:userOptions:error:]: 52: Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted (Error Domain=NSPOSIXErrorDomain Code=2 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted/Payload returned No such file or directory" UserInfo=0x16db0bf0 {FunctionName=-[MIFileManager urlsForItemsInDirectoryAtURL:error:], SourceFileLine=413, NSLocalizedDescription=_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted/Payload returned No such file or directory})
Jan 16 14:26:23 iPad-4 itunesstored[81] <Error>: 0x220c000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=6 "Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted" UserInfo=0x166e99b0 {LegacyErrorString=PackageInspectionFailed, FunctionName=+[MIInstallable installablesAtURL:packageFormat:userOptions:error:], NSLocalizedDescription=Failed to inspect package at file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted, SourceFileLine=52, NSUnderlyingError=0x166db1a0 "_IterateDirectory for file:///private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.gorFAA/extracted/Payload returned No such file or directory"}
Jan 16 14:26:23 iPad-4 itunesstored[81] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jan 16 14:26:23 iPad-4 lsd[72] <Warning>: LaunchServices: installation failed for app com.organisation.lalala
Jan 16 14:26:23 iPad-4 itunesstored[81] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.organisation.lalala.Installing - <NSProgress: 0x1660ffa0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache

这是虹吸应用程序的修改。如果我通过xcode安装它,它可以正常工作。我找不到任何解决办法。

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2015-02-10 12:35:25

我也有同样的问题。伊格瑞奇的评论让我找到了解决方案。

  1. 将文件从appname.ipa重命名为appname.zip。
  2. 解压拉链文件。文件夹名应该是“应用程序”。
  3. 将文件夹重命名为“有效载荷”。
  4. 再次压缩到压缩文件。
  5. 将zip存档重命名为appname.ipa
  6. 现在起作用了!

我在这里找到了一些更多的信息:index.html

票数 1
EN

Stack Overflow用户

发布于 2015-07-07 10:51:33

在应用程序plist文件中,将此值设置为Yes。“应用程序需要iPhone环境”,这将创建有效载荷文件夹而不是应用程序

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27983032

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档