• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

ios - 企业分发失败

[复制链接]
菜鸟教程小白 发表于 2022-12-12 13:46:35 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题

我通过 item-services 安装应用时遇到问题:“目前无法安装”

在设备日志中我可以看到:

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

这是对 Siphon 应用程序的修改。如果我通过 xcode 安装它,它工作正常。 我找不到任何解决方案...



Best Answer-推荐答案


我遇到了同样的问题。来自 igraczech 的评论让我找到了解决方案。

  1. 将文件从 appname.ipa 重命名为 appname.zip。
  2. 解压压缩文件。文件夹名称应为“Application”。
  3. 将文件夹重命名为“Payload”。
  4. 再次压缩为 zip 文件。
  5. 将 zip 存档重命名为 appname.ipa
  6. 现在可以了!

我在这里找到了更多信息:https://developer.apple.com/library/ios/technotes/tn2318/_index.html

关于ios - 企业分发失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27983032/

回复

使用道具 举报

懒得打字嘛,点击右侧快捷回复 【右侧内容,后台自定义】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关注0

粉丝2

帖子830918

发布主题
阅读排行 更多
广告位

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap