添加ASIHTTPRequest时收到苹果O链接器错误

shb*_*bli 3 iphone xcode objective-c asihttprequest ios4

这让我今天疯了,我已经使用了ASIHTTPRequest,http: //allseeing-i.com/,但是现在,我正在尝试将它添加到应用程序中,一旦添加它就给了我这个疯狂的错误.

我已经开始了一个新的项目,并评论了所有相关的代码,添加了没有它的代码,是的,它工作,添加它,它的库,没有它不起作用,我得到这个疯狂错误,我卡住了并需要帮助.

顺便说一下,这是详细的错误,

ld: warning: ignoring file /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/libz.1.2.3.dylib, missing required architecture i386 in file
ld: warning: ignoring file /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/libSystem.dylib, missing required architecture i386 in file
ld: in /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.0/Symbols/usr/lib/libobjc.A.dylib, missing required architecture i386 in file for architecture i386
collect2: ld returned 1 exit status
Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
Run Code Online (Sandbox Code Playgroud)

谢谢,问候,艾哈迈德

shb*_*bli 8

我现在得到了答案.我复制了旧版本,我的应用程序的工作版本.或者只是创建一个新项目并添加与此无关的文件,并确保它正在工作和构建.然后,从项目设置添加框架(左边的第一个图标),然后从构建阶段添加正确的库.我的问题是:我试图通过将它们拖入我的项目来添加库,问题特别针对这个.libz.1.2.3.dylib.无论如何,谢谢你,希望这对某人有帮助.