可执行文件使用无效的权利0xe8008016签署 - Distribution certficate [英] The executable was signed with invalid entitlements 0xe8008016 - Distribution certficate
问题描述
我收到错误:
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).
DISTRIBUTION CERTIFICATE&提供
个人资料。之前,我能够使用分发配置文件安装构建,但是,现在我无法这样做。它给出了上述错误。
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,
- 创建新的证书和配置文件
- 从钥匙串中删除旧证书并安装新证书
- 从系统中删除旧的配置文件并安装新的配置文件(Manully并自动通过
Xcode-> Preferences->帐户 - >查看详细信息 - >全部下载
) -
删除证书后多次重新设置XCode
添加新的 - 清理和构建项目
- 清除派生数据
- 保持自动配置文件(但是它使用开发人员配置文件构建,不知道原因)
- Created a new cert and provisionf profiles
- Removed old certs from keychains and installed new ones
- Removed old provision profiles from system and installed new ones (Manully and automatically through
Xcode->Preferences->account->view Details-> download all
) Restareted XCode
many times after removing certs adding new ones- Clean and build project
- Cleared derived data
- Kept Provisioning profile on automatic (but it builds with developer provisioning profile, dont know why)
根据错误,我已经匹配了我的配置文件应用程序服务(根据我的开发人员门户网站中的appID),其中包含 XCode
中的构建功能。但它不起作用。
那个 .entitlements
文件是否必须对Build capabilites做任何事情?我尝试删除 .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 .entitlement
once but no luck.
更新:
我创建了一个新项目,新appID(默认启用了。应用程序内和游戏中心)和新的分发配置文件。仍然给出相同的错误。 :(
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签署 - Distribution certficate的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!