可执行文件在Xcode中使用无效授权进行签名 [英] The executable gets signed with invalid entitlements in Xcode

查看:336
本文介绍了可执行文件在Xcode中使用无效授权进行签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在设备上运行应用程序时,我在Xcode 5中出现此错误。

I got this error with Xcode 5 when I try to run the app on my device.


可执行文件使用无效授权签名

The executable was signed with invalid entitlement

Xcode 4.x运行良好。任何人都知道如何摆脱错误?

It worked fine with Xcode 4.x. Anyone knows how to get rid of the error?

推荐答案

我发现了问题所在。我在developer.apple.com上创建的应用程序不包含应用程序间音频。 Xcode上的项目权利plist文件将应用程序间音频设置为YES(默认情况下)。我在developer.apple.com上更改了我的应用配置设置后启用了跨应用音频。然后我的应用程序在我的设备上运行我想这是苹果的新规则,可以使您的应用设置在developer.apple.com和您的xcode项目设置中保持一致。

I found out the problem. The app I created on developer.apple.com does not include inter-app-audio. The project entitlements plist file on Xcode has inter-app-audio set to YES (by default). Once I changed the setting on my app configuration on developer.apple.com to enable the inter-app-audio. Then my app runs on my devices. I guess that is apple's new rule to make your app settings consistent on both developer.apple.com and your xcode project setting.

这篇关于可执行文件在Xcode中使用无效授权进行签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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