可执行文件已使用无效的权利进行签名0xe8008016-分发证书 [英] The executable was signed with invalid entitlements 0xe8008016 - Distribution certificate

查看:107
本文介绍了可执行文件已使用无效的权利进行签名0xe8008016-分发证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到错误:

The executable was signed with invalid entitlements.
The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016).

配置文件上的

.之前,我能够使用分发配置文件来安装构建,但是,现在,我无法这样做.它给出了以上错误.

on DISTRIBUTION CERTIFICATE & PROVISIONING Profile. Earlier, I was able to install the build using distribution profile, But, now I am not able to do so. It gives above error.

以下是我的兴趣内容:

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

<key>keychain-access-groups</key>

<array>

<string>$(AppIdentifierPrefix)com.myapp.xyz</string>

</array>

</dict>

</plist>

我已在我的appid中启用了PushNotification.

I have enabled PushNotification in my appid.

在过去的2-3天里,我在stackoverflow上经历了很多这样的帖子,并尝试了各种解决方案.但是它们都没有起作用. 我已经解决的事情,

From past 2-3 days, I have gone through many such post on stackoverflow and tried various solutions. But none of them has worked. Things I have done to resolve,

  1. 创建了新的证书和Provisionf配置文件
  2. 从钥匙串中删除了旧证书,并安装了新证书
  3. 从系统中删除了旧的配置文件,并安装了新的配置文件(通过Xcode->Preferences->account->view Details-> download all手动并自动)
  4. Restareted XCode在删除添加新证书的证书后很多次
  5. 清理并构建项目
  6. 清除的导出数据
  7. 将自动配置文件保留为自动配置(但它是使用开发者自动配置文件构建的,不知道为什么)
  1. Created a new cert and provisionf profiles
  2. Removed old certs from keychains and installed new ones
  3. Removed old provision profiles from system and installed new ones (Manully and automatically through Xcode->Preferences->account->view Details-> download all)
  4. Restareted XCode many times after removing certs adding new ones
  5. Clean and build project
  6. Cleared derived data
  7. Kept Provisioning profile on automatic (but it builds with developer provisioning profile, dont know why)

根据错误,我已将我的配置文件应用程序服务(根据我在开发人员门户中的appID)与XCode中的构建功能进行了匹配.但它不起作用. 该.entitlements文件是否必须与构建功能"一起执行任何操作?我尝试一次删除.entitlement但没有运气.

According to error, I have matched my provision profile Application services (as per my appID in developer portal) with build capabilites in XCode. But its not working. Does that .entitlements file has to do anything with "Build capabilites"? I tried removing .entitlementonce but no luck.

更新: 我创建了一个新项目,即新的appID(启用了默认ID.应用内和游戏中心)和新的发行配置文件.仍然给出相同的错误. :(

UPDATE: I created a new project, New appID (The default ones are enabled. In-app and game center) and new distribution provisioning profile. Still gives same error. :(

UPADTE 2:添加钥匙串的图像

UPADTE 2: Adding image of keychain

推荐答案

查看测试目标,测试目标和主要目标的团队都应该相同.

Look into the test target, the team should be the same in both the test target and the main target.

这篇关于可执行文件已使用无效的权利进行签名0xe8008016-分发证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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