-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error On Mountain Lion #2
Comments
I got the XPC part working without privilege escalation by using SMJobSubmit instead of Bless. I realize that this is different than the purpose of this demo app, but it's all I need - XPC Between my background menu item and forground viewer.
|
Actually, I retract that. It got a bit farther but was complaining: Helper available. If I wasn't half asleep, I would of noticed ;) |
Did you ever figure out the original problem? I got the same exact error myself.. |
Noticed in ASL 11/27/12 6:20:03.581 PM launchdadd[56637]: FAILURE: Code <SecCode 0x7fc0e31005e0 [0x7fff7bed5fd0]> failed requirement (identifier "com.apple.bsd.SMJobBlessApp" and certificate leaf[subject.CN] = "Mac Developer: Nathan de Vries (T3RB9JQ8KZ)") with error "The operation couldn’t be completed. (OSStatus error -67050.)" |
OK I figured this out .. You have to change the Identity in the info.plist's (as Nathan Says) and also in the build settings.. Nathan Signed with his appstore certificate which we of course do not have so it will not work |
I changed my identity in both plist files, the one for the app and the one for the helper, and I also changed the code signing identitys in each project. I still get the error:
Any ideas why it might not be working for me? |
I can't explain why, but this started working for me when I tried to reproduce the problem so I could post another question on StackOverflow. It could be that I moved the project to another directory and did a clean build. I'm not sure. All I know is not only is this project working for me, but I've been able to also replicate in a project of my own. |
A Product -> Clean (shift+cmd+k) may help ;) |
Is a Mac Developer profile sufficient for this, or must it be an App Store profile? |
Mac developer will work On May 3, 2013, at 8:29 AM, "Michael L. Ward" [email protected] wrote:
|
A self-signing certificate suffices. Take a look at: https://developer.apple.com/library/mac/#documentation/security/Conceptual/CodeSigningGuide/Procedures/Procedures.html -- "To use the Certificate Assistant to create a self-signed signing identity" |
Use Developer ID signatures.. apple changed their SMJobBless Samplecode to reflect this based on my DTS response/request Developer ID will allow the app to run without GateKeeper complaining about an unknown developer... |
Not sure what this error is, but on mountain lion, I'm getting:
Failed to bless helper. Error: Error Domain=kSMErrorDomainFramework Code=3 "The operation couldn’t be completed. (kSMErrorDomainFramework error 3 - The client and tool did not match requirements.)" UserInfo=0x1001577b0 {NSDescription=The client and tool did not match requirements.}
The text was updated successfully, but these errors were encountered: