应用程序安装失败!无法检查应用程序包

问题描述 投票:0回答:2

我在将应用程序安装到我的设备时遇到安装失败,错误消息是无法检查应用程序包。模拟器工作正常!

经过几个小时的搜索,我引用了链接Xcode:无法检查应用程序包

所以我尝试了:

  1. 清理构建文件夹
  2. 清理驱动数据
  3. 将“Resources”文件夹重命名为“Res”/“Assets”
  4. 重新启动 Xcode
  5. 重新启动我的设备

但对我来说没有任何作用,任何想法都会受到赞赏?

这里是设备日志:


10 月 17 日 14:39:33 rande-iPhone Streaming_zip_conduit[229]:LaunchServices:为现有占位符 com.bobobanker.MBoBo 安装应用程序<(null) 在数据库中找不到> 10 月 17 日 14:39:33 rande-iPhone Streaming_zip_conduit[229] :LaunchServices:未为 com.bobobanker.MBoBo 创建进度<(null) 在数据库中找不到>,因为它不是占位符。 10 月 17 日 14:39:33 rande-iPhone installd[52] : 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]:安装“/var/mobile/Media/PublicStaging/MBoBo.app”类型开发人员按 Streaming_zip_conduit (pid 229) 10 月 17 日 14:39:33 rande-iPhone installd[52] : 0x16e12f000 -[MIBundle _validateWithError:]: 30: 无法从路径 /private/var/mobile/Library/Caches/com.apple 处的捆绑包加载 Info.plist。 mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app 10 月 17 日 14:39:33 rande-iPhone installd[52] : 0x16e12f000 -[MIInstaller _bundlesAtURL:error:]: 无法为 file:///private/var/mobile/Library/Caches/com.apple.mobile 创建捆绑包.installd.staging/temp.EOx51o/extracted/MBoBo.app/:错误域=MIInstallerErrorDomain代码=35“无法从路径/private/var/mobile/Library/Caches/com.apple.mobile的捆绑包加载Info.plist .installd.staging/temp.EOx51o/extracted/MBoBo.app" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=30, NSLocalizedDescription=无法从路径 /private/ 处的捆绑包加载 Info.plist var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app} 10 月 17 日 14:39:34 rande-iPhone Streaming_zip_conduit[229] :0x16e247000 __MobileInstallationInstallForLaunchServices_block_invoke222:返回错误错误域 = MIInstallerErrorDomain 代码 = 35“无法从路径 /private/var/mobile/Library/Caches/com 处的捆绑包加载 Info.plist .apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app" UserInfo={LegacyErrorString=PackageInspectionFailed, FunctionName=-[MIBundle _validateWithError:], SourceFileLine=30, NSLocalizedDescription=无法从捆绑包加载 Info.plist路径 /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app} 10 月 17 日 14:39:34 rande-iPhone Streaming_zip_conduit[229]:错误:MobileInstallationInstallForLaunchServices 返回零 10 月 17 日 14:39:34 rande-iPhone Streaming_zip_conduit[229]:__dispatch_source_read_socket_block_invoke:234:无法在 file:///var/mobile/Media/PublicStaging/MBoBo.app/ 安装应用程序:错误 Domain=LaunchServicesError Code=0 " (null)" UserInfo={Error=PackageInspectionFailed,ErrorDescription=无法从路径 /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/ 处的捆绑包加载 Info.plist MBoBo.app}

ios xcode7
2个回答
0
投票

可能导致此问题的因素:

  1. 应用程序名称中包含非拉丁字符。例如。埃
    • 删除此字符/重命名您的应用程序。
  2. 移动或复制名为一个或多个资源的文件夹。
    • 重命名此文件夹。

尝试上述操作后,最好执行以下操作:

  1. 干净。
  2. 清除导出数据。
  3. 从设备中删除旧应用程序。

然后再次尝试安装。


0
投票

这是因为你可能有2个info.plist文件,删除重复的一个并将原始info.plist文件的路径重新分配给你的项目。

© www.soinside.com 2019 - 2024. All rights reserved.