使用coreplot实现条形图...我正在收到无法调试的错误。任何人都可以帮我解决这个问题。各种各样的方法但仍无法找到解决方案。
Ld /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator/DashBoard.app/DashBoard正常i386 cd / Users / MacMini / Desktop / DashBoard setenv MACOSX_DEPLOYMENT_TARGET 10.6 setenv PATH“/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin” /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L / Users / MacMini / Library / Developer / Xcode / DerivedData / DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo / Build / Products / Debug-iphonesimulator -L / Users / MacMini / Desktop / DashBoard -F / Users / MacMini / Library / Developer / Xcode / DerivedData / DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzuz / Build / Products / Debug- iphonesimulator -F / Users / MacMini / Desktop / DashBoard -filelist /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Intermediates/DashBoard.build/Debug-iphonesimulator/DashBoard.build/Objects-normal/ i386 / DashBoard.LinkFileList -mmacosx-version-min = 10.6 -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -lCorePlot-CocoaTouch -framework UIKit -framework Foundation -framework CoreGraphics -o / Users / MacMini / Library / Developer / Xcode中/ DerivedData /仪表板cmeoxsnbrnrzrkcwmgmfxqlfuzvo /建立/产品/调试-iphonesimulator / DashBoard.app /控制台
架构i386的未定义符号: “_CPTDecimalFromDouble”,引自: - Barchart.o中的[Barchart viewDidLoad] “_OBJC_CLASS _ $ _ CPTGraphHostingView”,引自: Barchart.o中的objc-class-ref “_OBJC_CLASS _ $ _ CPTXYGraph”,引自: Barchart.o中的objc-class-ref “_OBJC_CLASS _ $ _ CPTPlotRange”,引自: Barchart.o中的objc-class-ref “_OBJC_CLASS _ $ _ CPTBarPlot”,引自: Barchart.o中的objc-class-ref ld:找不到架构i386的符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)
答案 0 :(得分:1)
此页面(在评论部分中)可以为您提供帮助:http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications
这是以前的Stack Overflow问题,看起来像你的: Using Core Plot iPhone - Linker error
以下是我在上面的页面中找到的一些修复: