【发布时间】:2018-08-13 04:55:16
【问题描述】:
我尝试使用 SMJobBless 为我的应用程序制作辅助工具; 当我通过通道遵循设置时:
http://www.tanhao.me/pieces/1623.html/
当我运行时,xcode 给了我:
SMJobBless 失败,错误:错误域=CFErrorDomainLaunchd 代码=8 “(空)”
8 表示 kSMErrorJobPlistNotFound; 但我检查了其他链接标志:
并且bundle存储了plist:
这是一个相同的问题: SMJobBless error
但我不在答案之下,我无权添加评论
SMJobBless 演示设置 info.plist key SMPrivilegedExecutables 这样;
但我不知道如何将它应用到我的程序中:
anchor apple generic and identifier "com.apple.bsd.SMJobBlessHelper" 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] = xxxxxxxxxx)
【问题讨论】:
标签: macos cocoa smjobbless