首页 文章

“_OBJC_CLASS _ $ _ SBJsonParser”,引自:YFStockSymbolSearch.o中的objc-class-ref

提问于
浏览
0

Hi everybody.I has a problem when I building a xcode project contains BSYahooFinance classes. The details of this problem:

Ld /Users/yxu/Library/Developer/Xcode/DerivedData/exchange-avxwiknpprmcnlhgjynxlmbwglpm/Build/Products/Debug-iphonesimulator/exchange.app/exchange normal i386 cd / Users / yxu / Documents / project / exchange setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/ 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/iPhoneSimulator6.1.sdk -L / Users / yxu / Library / Developer / Xcode / DerivedData / exchange-avxwiknpprmcnlhgjynxlmbwglpm / Build / Products / Debug-iphonesimulator -F / Users / yxu / Library / Developer / Xcode / DerivedData / exchange -avxwiknpprmcnlhgjynxlmbwglpm / Build / Products / Debug-iphonesimulator -filelist / Users / yxu / Library / Developer / Xcode / DerivedData / exchange-avxwiknpprmcnlhgjynxlmbwg lpm / Build / Intermediates / exchange.build / Debug-iphonesimulator / exchange.build / Objects-normal / i386 / exchange.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios -simulator-version-min = 6.1 -framework CoreData -framework CoreFoundation -lxml2 -lz -framework MobileCoreServices -framework SystemConfiguration -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics -o / Users / yxu / Library / Developer / Xcode / DerivedData /exchange-avxwiknpprmcnlhgjynxlmbwglpm/Build/Products/Debug-iphonesimulator/exchange.app/exchange架构i386的未定义符号:“_ OBJC_CLASS _ $ _ SBJsonParser”,引自:YFStockSymbolSearch.o中的objc-class-ref,YFStockDetailsLoader中的objc-class-ref . o ld:找不到架构i386 clang的符号:错误:链接器命令失败,退出代码为1(使用-v查看调用)

I have found many answers like "find the .m files are in your project" or "add the framworks needed" from google.I tried them all, but still couldn't solve this problem. Dose anybody of you can give me some suggestions or seen this problem before?

1 回答

  • 0

    您需要将胖二进制文件与SBJsonParser的i386对象文件链接到目标中 .

相关问题