Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: cdsa debugging



Thanks Perry. It still does not work. 
 
I am building the Development configuration (after changing darwinbuild by hand to pass -configuration to xcodebuild) which results only in the Security_debug binary (no Security binary).
 
How can I make sure that certificate assistant uses this debug version (Security_debug) instead of the non debug version (Security)?
(I changed the symbolic link for Security in /System/Library/Security.framework/ to point to the Security_debug in Versions/A but the prevents me from logging in :-))
 
Thanks.
 
 

________________________________

From: Perry The Cynic [mailto:email@hidden]
Sent: Wed 5/24/2006 5:39 PM
To: Soumik.Sarkar; email@hidden
Subject: Re: cdsa debugging



--On May 23, 2006 9:57:32 PM -0400 "Soumik.Sarkar" <email@hidden>
wrote:

> I get a CSSM_MDS_ERROR when trying to use the Certificate Assistant to
> create a cert using my CDSA plugin. In order to figure out why, I
> replaced the Security.Framework with a debug version (which I compiled
> from source).
>
> After setting the DEBUGDEST and DEBUGSCOPE vars, I still do not get any
> log output. Any ideas why?
>
> I am running the certificate assistant using open form the command line.

The open(1) command does not transmit environment variables. Explicitly run
it from Terminal:
   wherever/whatever.app/Contents/MacOS/whatever
That will also let you gdb the thing to muck around inside your plugin.

Cheers
  -- perry
---------------------------------------------------------------------------
Perry The Cynic                                             email@hidden
To a blind optimist, an optimistic realist must seem like an Accursed Cynic.
---------------------------------------------------------------------------





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Apple-cdsa mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/apple-cdsa/email@hidden

This email sent to email@hidden

References: 
 >cdsa debugging (From: "Soumik.Sarkar" <email@hidden>)
 >Re: cdsa debugging (From: Perry The Cynic <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.