权利无效 [英] Entitlements are not valid

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

问题描述

最近,我将我的iPhone SDK操作系统从2.2.1版升级到了3.0版.之后,在构建我的应用程序时,我得到一个错误,即配置文件已过期.因此,我创建了一个新的配置文件.

Recently, I have upgraded my iPhone SDK OS from version 2.2.1 to 3.0 version. After that, while building my application, I get an error that the provisioning profile has expired. So I created a new provisioning profile.

然后,我使用配置文件分发了我的应用程序.但是在将我的应用程序同步到iPhone设备时,iTunes中出现错误.错误消息是由于权利无效,因此未在iPhone上安装应用程序'iGVA'."

Then I made the distribution of my application with the provisioning profile. But I get an error in iTunes while synchronising my application into an iPhone device. The error message is "The application 'iGVA' was not installed on the iPhone because the entitlements are not valid."

我检查了代码签名授权,其中包含正确的授权plist文件.

I checked the code signing Entitlements contains the correct entitlement plist file.

如何解决?

推荐答案

迈克尔在上面的回答很明确(或者他指向的链接是).要使它正常工作,这是我必须采取的步骤:

Michael's answer above is spot on (or the link he points to is). Here are the steps I had to take to get it to work:

  • 具有为其检查了设备UDID的临时证书.通过将该证书拖到XCode图标上来安装它.
  • 在项目上,创建分发配置,并将构建参数设置为适当的设备|分配.现在,我们针对Device 3.0进行构建|分发.
  • 我的项目没有包含Entitlements.plist文件-我必须通过从菜单中选择文件" |添加"来添加它.添加文件| iPhone操作系统|权利,然后调用新文件Entitlements.plist
  • 新的plist文件只有一行-将该行的值设置为未选中.
  • 在项目构建配置中,在代码签名权利"行中,输入Entitlements.plist文件名作为值.
  • 在代码签名身份"中,选择临时证书身份(尽管我发现您也可以使用分发证书身份)
  • 现在建立:)
  • 将生成的应用程序文件和即席证书交付给给您提供UDID的人.应该可以:).

这篇关于权利无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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