Undefined symbols for architecture x86_64:
"_CFMakeCollectable", referenced from:
-[ASIFormDataRequest encodeURL:] in ASIFormDataRequest.o
-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
-[ASIHTTPRequest checkRequestStatus] in ASIHTTPRequest.o
-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
-[ASIHTTPRequest handleStreamComplete] in ASIHTTPRequest.o
...
"_CFReadStreamCopyError", referenced from:
-[ASIHTTPRequest handleStreamError] in ASIHTTPRequest.o
"_CFReadStreamCopyProperty", referenced from:
-[ASIHTTPRequest checkRequestStatus] in ASIHTTPRequest.o
-[ASIHTTPRequest readResponseHeaders] in ASIHTTPRequest.o
-[ASIHTTPRequest attemptToApplyProxyCredentialsAndResume] in ASIHTTPRequest.o
-[ASIHTTPRequest attemptToApplyCredentialsAndResume] in ASIHTTPRequest.o
-[ASIHTTPRequest handleStreamComplete] in ASIHTTPRequest.o
"_CFReadStreamHasBytesAvailable", referenced from:
-[ASIHTTPRequest handleBytesAvailable] in ASIHTTPRequest.o
"_CFReadStreamOpen", referenced from:
-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
"_CFReadStreamSetClient", referenced from:
-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
-[ASIHTTPRequest scheduleReadStream] in ASIHTTPRequest.o
-[ASIHTTPRequest unscheduleReadStream] in ASIHTTPRequest.o
"_CFReadStreamSetProperty", referenced from:
-[ASIHTTPRequest startRequest] in ASIHTTPRequest.o
-[PFHTTPCommand scheduleInCurrentThread] in Parse(PFHTTPCommand.o)
我在尝试构建时收到此错误。有人可以指出出了什么问题吗?
似乎您包含头文件,但缺少 .m 文件。另外,似乎您还没有发布整个错误列表。
通常,当您没有将所有 .m 文件包含在构建阶段时,会出现此类问题。