Xcode添加引用

,

ASIHttpRequest编译报连接错误:
_CFHTTPAuthenticationIsValid", referenced from:
-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
"_CFHTTPMessageApplyCredentialDictionary", referenced from:
-[ASIHTTPRequest applyAuthorizationHeader] in ASIHTTPRequest.o
-[ASIHTTPRequest applyAuthorizationHeader] in ASIHTTPRequest.o
-[ASIHTTPRequest applyProxyCredentials:] in ASIHTTPRequest.o
-[ASIHTTPRequest applyCredentials:] in ASIHTTPRequest.o
……..
……..
……..
"
据stackoverflow高人答:
More specifically, it requires CFNetwork, SystemConfiguration, MobileCoreServices, and zlib.

Edit: It also needs libxml2

但是怎么引用 CFNetwork, SystemConfiguration, MobileCoreServices, libxml2,and zlib(zlib???!!!名称是libz) 呢?

选中项目"根"->"Build Phases"-> "Link Binary With Libraries" 按 下面加号 依次添加