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

时间:2015-10-17 03:57:56

标签: ios xcode7

将App安装到我的设备时,安装失败,错误消息无法检查应用程序包。 simultor工作正常!

经过数小时的搜索,我引用了链接Xcode: Could not inspect the application package

所以我试过了:

  1. 清理构建文件夹
  2. clean drivedData
  3. 重命名"资源"文件夹到" Res" /"资产"
  4. 重启Xcode
  5. 重启我的设备
  6. 但没有什么对我有用,任何想法都会受到赞赏吗?

    这是设备日志:

      

    Oct 17 14:39:33 rande-iPhone streaming_zip_conduit [229]:LaunchServices:为现有占位符安装app 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"类型Developer由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上的bundle加载Info.plist。 mobile.installd.staging / temp.EOx51o /提取/ MBoBo.app   10月17日14:39:33 rande-iPhone installd [52]:0x16e12f000 - [MIInstaller _bundlesAtURL:错误:]:无法为文件创建包:///private/var/mobile/Library/Caches/com.apple.mobile .installd.staging / temp.EOx51o / extracted / MBoBo.app /:错误域= MIInstallerErrorDomain代码= 35"无法从路径/ private / var / mobile / Library / Caches / com中的bundle加载Info.plist。 apple.mobile.installd.staging / temp.EOx51o /提取/ MBoBo.app" UserInfo = {LegacyErrorString = PackageInspectionFailed,FunctionName = - [MIBundle _validateWithError:],SourceFileLine = 30,NSLocalizedDescription =无法从路径/private/var/mobile/Library/Caches/com.apple.mobile.installd中的bundle加载Info.plist .staging / temp.EOx51o /提取/ MBoBo.app}   10月17日14:39:34 rande-iPhone streaming_zip_conduit [229]:0x16e247000 __MobileInstallationInstallForLaunchServices_block_invoke222:返回错误错误域= MIInstallerErrorDomain代码= 35"无法从路径/ private / var / mobile / Library /从bundle加载Info.plist高速缓存/ com.apple.mobile.installd.staging / temp.EOx51o /提取/ MBoBo.app" UserInfo = {LegacyErrorString = PackageInspectionFailed,FunctionName = - [MIBundle _validateWithError:],SourceFileLine = 30,NSLocalizedDescription =无法从路径/private/var/mobile/Library/Caches/com.apple.mobile.installd中的bundle加载Info.plist .staging / temp.EOx51o /提取/ 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/安装应用程序:错误域= LaunchServicesError代码= 0& #34;(空)" UserInfo = {Error = PackageInspectionFailed,ErrorDescription =无法从路径/private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.EOx51o/extracted/MBoBo.app}中的bundle加载Info.plist

2 个答案:

答案 0 :(得分:0)

可能导致此问题的事情:

  1. 应用名称中的非拉丁字符。例如。 é
    • 删除此字符/重命名您的应用。
  2. 移动或复制名为资源或资源的文件夹。
    • 重命名此文件夹。
  3. 尝试上述操作后,请务必执行以下操作:

    1. 清洁。
    2. 清除衍生数据。
    3. 从设备中删除旧应用。
    4. 然后再次尝试安装。

答案 1 :(得分:0)

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

相关问题