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



You may be able to use the install_name_tool(1) in the folloiwng manner:

install_name_tool -change /System/Library/Security.framework/Versions/ A/Security /System/Library/Security.framework/Versions/A/ Security_debug foo.exe

Another option is to use the DYLD_IMAGE_SUFFIX environment variable, see the dyld(1) manpage for details.

- Kevin

On May 24, 2006, at 4:59 PM, Soumik.Sarkar wrote:

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/kevin% 40opendarwin.org


This email sent to email@hidden

_______________________________________________ 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>)
 >RE: cdsa debugging (From: "Soumik.Sarkar" <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.