Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-06 Thread Rick Mann
On May 6, 2013, at 10:41 , Nick Zitzmann wrote: > > On May 6, 2013, at 11:37 AM, Rick Mann wrote: > >> An older project had linked against libCrypto, which didn't exist any more, >> and I was assuming it wasn't linked in by default. > > libcrypto is the cryptography library used by OpenSSL,

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-06 Thread Nick Zitzmann
On May 6, 2013, at 11:37 AM, Rick Mann wrote: > An older project had linked against libCrypto, which didn't exist any more, > and I was assuming it wasn't linked in by default. libcrypto is the cryptography library used by OpenSSL, which has nothing to do with CommonCrypto, is not part of iOS

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-06 Thread Rick Mann
On May 6, 2013, at 10:23 , Nick Zitzmann wrote: > What are you trying to accomplish? You normally do not need to link a target > directly to libcommonCrypto; it is part of libSystem, the standard C library, > and therefore gets automatically linked to the target unless you manually > turned t

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-06 Thread Nick Zitzmann
On May 5, 2013, at 6:06 PM, Rick Mann wrote: > I can add libcommonCrypto.dylib from the iOS Add Frameworks & Libraries UI, > but it fails to link with: > > ld: library not found for -lcommonCrypto > > > Any idea how I can link this? I need it for CCHmac(). What are you trying to accom

Re: Trouble linking libcommonCrypto in iOS 6.1

2013-05-05 Thread Rick Mann
Huh. I tried building for device instead, and now I get the following: ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system/libcommonCrypto.dylib. Link against the umbrella framework 'System.framework'