• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
xCode link failure with Security framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: RE: Project-wide build rule
  • Next by Date: Re: autocompletion, see all class methods,...
  • Previous by thread: Re: Xcode 1.1 RIP
  • Next by thread: ResMergerCollector misery since 1.1 upgrade
  • Index(es):
    • Date
    • Thread