Xcode命令/ usr / bin / codesign失败,退出代码为1:errSecInternalComponent [英] Xcode Command /usr/bin/codesign failed with exit code 1 : errSecInternalComponent

查看:366
本文介绍了Xcode命令/ usr / bin / codesign失败,退出代码为1:errSecInternalComponent的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向我的Xcode添加新的配置文件,以测试设备上的应用程序。以下是我遵循的步骤:

I am trying to add new provisioning profile to my Xcode, to test an app on the device. Here are the steps I followed:


  1. 删除所有证书和配置文件

  1. Deleted all certificates and provisioning profiles

创建/添加IOS开发证书

Create/Add IOS Dev Certificate

在线添加我的IOS设备

Add My IOS Device Online

创建IOS配置文件

添加IOS配置文件

清理应用

构建然后运行应用程序

在构建设置中设置代码签名和配置配置文件

Set Codesigning nd Provisioning Profile In Build Settings

大量谷歌搜索>没有成功

Lots of Googling > to no successes

这里是我得到的错误:

CSSM_SignData returned: 800108E6
/Users/alexpelletier/Library/Developer/Xcode/DerivedData/MyExpense-efnqzvoqwngzcmazaotyalepiice/Build/Products/Debug-iphoneos/MyExpense.app:     errSecInternalComponent
Command /usr/bin/codesign failed with exit code 1


推荐答案

这似乎是代码签名机制中的一个错误,restarti你的mac应该解决问题

It seems like a bug in the code signing mechanism, restarting your mac should solve the problem

这篇关于Xcode命令/ usr / bin / codesign失败,退出代码为1:errSecInternalComponent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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