xCode link failure with Security framework
xCode link failure with Security framework
- Subject: xCode link failure with Security framework
- From: Olger Warnier <email@hidden>
- Date: Mon, 22 Dec 2003 11:35:26 +0100
Hi All,
I have an issue with the build process and the Security framework.
Opening the keychain, searching it and copying attributes and data
(SecKeychainItemCopyAttributesAndData) all compile and link fine.
But now I try to use:
SecCertificateRef certRef;
OSStatus getCertStatus = SecCertificateGetItem(certRef,
&itemRef);
and get the following linker error:
certificatemanager:0: Undefined symbols: _SecCertificateGetItem
In the Groups & Files view I have added under the Frameworks &
Libraries for this target the Security.framework. That worked till I
start using these Certificate functions. I've added under the Other
Linker Flags : -framework Security although I don't think that it is
required. (it also contains: -framework Foundation and -framework
AppKit, don't know what the last one is for)
It seems that the symbol is not available in the security framework,
but maybe I overlook some kind of option for this target.
Anyone some ideas ?
Olger
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.