1.Link Binary With Libraries 中添加 libz.dyllb ui
2.複製OpenSSL(libssl.a & libcryto.a & NSData+CocoaDevUsersAdditions.h & NSData+CocoaDevUsersAdditions.m)到文件目錄中,並拉至項目下ssl
3.選中TARGETS下得項目,Build Settings -> Header Search Paths 添加 "$(SRCROOT)/ProjectName/OpenSSL" (替換掉ProjectName!)it
4.加進頭文件開始使用OpenSSL啦:)io