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

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

问题描述

我正在运行Xcode 6和iOS 8 GM。每隔一次我运行我的应用程序我从Xcode收到此消息:

I am running Xcode 6 and iOS 8 GM. Every other time I run my app I get this message from Xcode:


无法检查应用程序包

"Could not inspect the application package"

所以我可以运行和构建,我会收到消息。我再次运行并构建,一切都按预期运行(这是我的设备)。然后它会冲洗并重复,每隔一次就会给我这个错误。

So I can run and build, I will get the message. I run and build again, everything runs as expected (this is to my device). Then it will rinse and repeat, every other time giving me this error.

我已经查看了所有其他已建议但仍无法阻止此错误的解决方案。我已经清理了我的项目,清理了构建文件夹,删除了派生数据等没有运气。

I have looked at all the other solutions that have been suggested but cannot stop this error. I have cleaned my project, cleaned the build folder, deleted derived data etc with no luck.

我怎样才能看到导致这种情况的原因?

How can I see what is causing this in the first place?

有趣的是,这只发生在我的设备上运行时。不在模拟器上。此外,它只发生在我的设备上,在构建调试时。如果我将方案更改为发布,我可以无限制地构建和运行。想法?

Interestingly, this only happens when running on my device. Not on the simulator. Also, it only happens on my device, when building for debug. If I change the scheme to release, I can build and run endlessly without with error. Ideas?

推荐答案

如果产品名称包含非拉丁字符,则Xcode 6和iOS 8会发生这种情况。
在这种情况下,将产品名称更改为仅用于调试版本的拉丁字符的产品名称可以解决此问题。

This can happen with Xcode 6 and iOS 8 if a product name contains non-latin characters. In this case changing product name to the one with only latin characters for debug builds fixes this problem.

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

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