how to resolve CommonKeyDerivation.h: no such file found error

470 Views Asked by At

I am encrypting a string and use #import CommonCrypto/CommonKeyDerivation.h but xcode show error no such file found though I add security framework and I also use #import CommonCrypto/CommonCryptor.h but it shows no error.

I found file in openSource but not found any idea to use it in my code or download

Thanks in advance

1

There are 1 best solutions below

0
On

change your import statement to:

#import <CommonCrypto/CommonKeyDerivation.h>