Objective c 调用方法时发生ASIHTTPREQUEST框架编译错误/link error

Objective c 调用方法时发生ASIHTTPREQUEST框架编译错误/link error,objective-c,ios,asihttprequest,xcode4.3,Objective C,Ios,Asihttprequest,Xcode4.3,我正在尝试使用ASIHTTPREQUEST库编译一个项目 我按照说明链接到了所有必要的库,我没有得到任何不是编译错误的错误。。。我被允许尝试编译这个项目 只有当我尝试在.m中使用此代码时,问题才会出现 NSURL*colorURL=[NSURL URLWithString:@”http://www.colourlovers.com/api/colors?format=json"]; ASIHTTPRequest*请求=[AsiHttpRequestRequestWithURL:colorURL]

我正在尝试使用ASIHTTPREQUEST库编译一个项目

我按照说明链接到了所有必要的库,我没有得到任何不是编译错误的错误。。。我被允许尝试编译这个项目

只有当我尝试在.m中使用此代码时,问题才会出现

NSURL*colorURL=[NSURL URLWithString:@”http://www.colourlovers.com/api/colors?format=json"]; ASIHTTPRequest*请求=[AsiHttpRequestRequestWithURL:colorURL]; [请求setDelegate:self]; [请求启动同步]; 从本教程中:

Ld/Users/johndoe/Library/Developer/Xcode/DerivedData/round5 bdubuaqrmfeeujdoabfnpkzsctpa/Build/Products/Debug iphonesimulator/round5.app/round5 normal i386 cd/Users/johndoe/Documents/apps/iphone/corelocationtest/round5 setenv MACOSX_部署_目标10.6 setenv PATH“/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/sbin:/sbin” /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-arch i386-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk-L/Users/johndoe/Library/Developer/Xcode/DerivedData/round5 bdubuaqrmfeeujdoabfnpkzsctpa/Build/Products/Debug iphonesimulator-F/Users/johndoe/Library/Developer/Xcode/DerivedData/round5 bdubuaqrmfeeujdoabfnpkzsctpa/Build/Products/Debug iphonesimulator-filelist/Users/johndoe/Library/Developer/Xcode/DerivedData/round5 bdubuaqrmfeeujdoabfnpkzsctpa/Build/Intermediates/round5.Build/Debug-iphonesimulator/round5.Build/Objects-normal/i386/round5.LinkFileList-mmacosx版本min=10.6-Xlinker-objc\u abi版本-Xlinker 2-fobjc-arc-Xlinker-no\u隐式动态库-D\u-IPHONE版本所需的最小值=50100-lz-框架CFNET-框架体系结构-框架关联-框架- UIKIT -框架基础-框架核心图形-O/Upple/Dangdoe/Loope/XDCOD/派生数据/RAND5 BDUAQRMFEJODABFNPKZSCTPA/Bug /产品/调试IPHONSIMULATORAT/RON5.5.APP/RAND5 架构i386的未定义符号: “_OBJC_CLASS_$_ASIHTTPRequest”,引用自: round5ViewController.o中的objc类引用 ld:未找到架构i386的符号 叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用) 我不明白这个错误是什么意思:

架构i386的未定义符号: “_OBJC_CLASS_$_ASIHTTPRequest”,引用自: round5ViewController.o中的objc类引用 ld:未找到架构i386的符号 叮当声:错误:链接器命令失败,退出代码为1(使用-v查看调用) 真的很失落。。。请帮忙

PS:我查看了堆栈溢出上的一些其他线程,但它们没有引用相同的错误

没关系

重复:

我想看看目标中的构建阶段部分。在“编译源代码”下,请确保看到ASIHTTPRequest和SBJson的.m文件。有时,当您将外部类拖动到项目中时,即使您选中该复选框将文件复制到项目中,它们也不会将文件复制到这些编译源中。将文件拖动到Xcode中时,会出现一个复选框,用于将文件添加到目标。如果未选中此选项,该文件将无法进入编译源代码。删除文件并重新添加,确保选中此文件(如果愿意,也可以手动添加.m文件)。”

杰姆斯通