BTW Had to change from <CommonCrypto/CommonKeyDerivation.h> to "CommonCrypto/CommonKeyDerivation.h" as per my StackOverflow answer http://stackoverflow.com/questions/9958661/how-to-compile-and-use-commoncrypto-for-ios-4/16358916#16358916