首页 > 代码库 > 添加zlib压缩步骤 OpenSSL

添加zlib压缩步骤 OpenSSL

1.Link Binary With Libraries 中添加 libz.dyllb 

2.复制OpenSSL(libssl.a & libcryto.a & NSData+CocoaDevUsersAdditions.h & NSData+CocoaDevUsersAdditions.m)到文件目录中,并拉至项目下

3.选中TARGETS下得项目,Build Settings -> Header Search Paths 添加 "$(SRCROOT)/ProjectName/OpenSSL" (替换掉ProjectName!)

4.加进头文件开始使用OpenSSL啦:)

添加zlib压缩步骤 OpenSSL