xcode – 代码签名的应用程序与其Blessed Helper的代码签名不匹配

当我使用
Xcode对我的应用程序进行代码签名时,它已经过签名,并且所有部分都已签名.在签名之前,我使用了
SMJobBless BlessedHelper来使用setreq命令调整我的.info文件.似乎没有真正解决,因为当我检查内置的.app时,SMJobBlessUtil.py告诉我签名条目不匹配:

Tim:Applications akku$~/Downloads/SMJobBless/SMJobBlessUtil.py check WashAndGo.app

问题:

WashAndGo.app/Contents/Library/LaunchServices/de.abelssoft.WashAndGoFileHelper:
app designated requirement (anchor apple generic and identifier
“de.abelssoft.WashAndGo” and (certificate
leaf[field.1.2.840.113635.100.6.1.9] /* exists / or certificate
1[field.1.2.840.113635.100.6.2.6] /
exists / and certificate
leaf[field.1.2.840.113635.100.6.1.13] /
exists / and certificate
leaf[subject.OU] = “84F375TH8K”)) doesn’t match entry in
‘SMAuthorizedClients’ (identifier “de.abelssoft.WashAndGo” and anchor
apple generic and certificate leaf[subject.CN] = “3rd Party Mac
Developer Application: Ascora GmbH (84F375TH8K)” and certificate
1[field.1.2.840.113635.100.6.2.1] /
exists */)

我已经找到了许多代码签名的一般指南,并且我的应用程序的代码签名工作就像轻而易举,但不知何故,这个有福的帮助者签名(过去曾经工作过)对我来说不再适用.

从Helper的info.plist文件中:

identifier "de.abelssoft.WashAndGo" and anchor apple generic and certificate leaf[subject.CN] = "3rd Party Mac Developer Application: Ascora GmbH (84F375TH8K)" and certificate 1[field.1.2.840.113635.100.6.2.1] /* exists */

从App的info.plist文件中:

anchor apple generic and identifier "de.abelssoft.WashAndGoFileHelper" and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = "84F375TH8K")

有什么提示可能是什么问题?还需要其他信息吗?

最佳答案 我尝试了很多东西,毕竟问题都消失了.我做的一些事情,我无法确定究竟是什么解决了问题,是:

>我将de.abelssoft.WashAndGoFileHelper中的帮助器ID更改为de.abelssoft.WashAndGo.WashAndGoFileHelper,因为我在某处读到帮助器现在应该是拥有工具的“子名称空间”
>我删除了权利文件,因为我自己分发工具并不需要它
>我更新了Xcode
>我重启了我的Mac
>我构建了软件,使用了python脚本,再次构建了软件,使用python脚本进行了测试,突然没有输出,这意味着一切都很好.一旦python脚本给我签名确定,与帮助者的通信也会起作用

点赞