2013-05-29 43 views
0

我想將NSString轉換爲MD5哈希。當運行我收到以下錯誤的程序我已經使用這個算法MD5 algorithm in Objective CCommon Crypto Library error

ld: library not found for -lcommonCrypto 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

誰能告訴我什麼,我在這裏失蹤?

我還添加libcommonCrypto.dylib

+0

請刪除它,並再次將它添加到您的代碼 – iEinstein

+0

再次添加它,關閉Xcode再次打開它,嘗試了很多東西,但錯誤不會去:( –

+0

很高興爲有限答案 – iEinstein

回答

2

只是刪除從構建階段庫 - >鏈接二進制與圖書館。它會解決問題