Search code examples
iphoneiosxcodecompiler-errorscommoncrypto

Library not found for -lcommonCrypto


I need to link my ios 5 app with CommonCrypto. The problem is that I can't compile due to this error: 'Library not found for -lcommonCrypto'... How can I solve?


Solution

  • if you take out -lcommonCrypto, does the app still compile?

    Looking at this duplicate question, it looks like all you need to do is include the correct #import lines in your .m file.