“无法检查应用程序包”Xcode [英] “could not inspect application package” Xcode

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

问题描述

出于某种原因,我在xcode(第三方SDK)中导入了一些文件,即使应用程序构建成功,我也会收到此错误:Xcode错误消息:无法检查应用程序包。这是什么意思?该应用程序不能在真实设备上运行,但适用于模拟器IOS ......

For some reason I imported some files in xcode (a third party SDK), and even if the app builds successfully I receive this error: Xcode Error Message: "could not inspect application package". What does it mean? the app doesn't run on a real device but works on a simulator IOS...

推荐答案

这听起来像是第三方文件可能包含未经您签名的已编译代码。如果是这样,您可以使用 iReSign 使用您自己的证书重新签名。您还可以使用命令行:

It sounds like the third party files might include compiled code which is not signed by you. If so, you can use iReSign to resign them using your own certificate. You can also use the command line:

codesign -f -s "iPhone Developer: Aaron Brager (XXXXXXXXXX)" nameOfAppToSign.app

用您自己的身份替换示例身份(您可以 man codesign 阅读有关此命令的更多信息)。

Replace the example identity with your own (you can man codesign to read more about this command).

您可以通过不包括已编译的代码来规避这一点。它可能没有必要 - 你是否包括一个示例应用程序,它不是框架运行所必需的?

You can circumvent this by not including the compiled code. It may not be necessary - are you including an example app which isn't necessary for the framework to function?

如果这个答案没有用,请提供名称框架并显示您包含的文件会有所帮助。

If this answer doesn't help, providing the name of the framework and showing which files you included would be helpful.

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

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