无法检查应用程序包 [英] Could not inspect the application package

查看:38
本文介绍了无法检查应用程序包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 XCode 6 的最终版本(版本 6.0.1).在我的项目中,我在运行它时遇到了问题.我得到了

I have final version of XCode 6 (version 6.0.1). In my project, I have problem when running it. I got

应用安装失败 - 无法检查应用包."

"App installation failed - Could not inspect the application package."

如果我再次运行项目,它运行正常.再次运行,再次出现问题......等等.因此,在该应用程序运行正常之后,每第二次运行都会以该错误结束.我在 XCode 5 中没有问题.

If I run project again, it runs ok. Another run, problem again... etc. So every second run ends in this error, right after that application run just fine. I have no problem in XCode 5.

推荐答案

我遇到了同样的问题,无法安装 ipa.它总是以错误无法检查应用程序包"结束.以及设备控制台中的一些警告

I had the same issue, And was unable to install the ipa. It always ended with an error "Could not inspect the application package." and some warnings in device console

Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options   dictionary when installing an app.
Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: installing app with unknown bundleID
.
.
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 -[MIBundle _validateWithError:]: 28: Failed to load Info.plist from bundle at path
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 + [MIInstallable installablesAtURL:packageFormat:userOptions:error:]: Failed  to create bundle for …

花了几个小时后,我通过在 info.plist 中添加应用程序需要 iPhone 环境"来修复它

After spending hours, I got it fixed by adding the "Application requires iPhone environment" in info.plist

<key>LSRequiresIPhoneOS</key>
<true/>

这篇关于无法检查应用程序包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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