iphone - Unknown class CPTGraphHostingView in Interface Builder file -


i'm using new core plot version. i'm stuck in error. googled , went through many same question on stackoverflow, didn't find solution. want draw bar chart, have done necessary setting , coding require display bar chart, got stuck in error. have checked cptgraphhostingview on view on xib side. did other linker flag seting , wrote barchartview.hostedgraph = barchart. target memembership option checked. please let me know if i'm missing anything.

provided have setup right core plot header files , core-plot library included in project. here did fix problem.

in target build settings, set linker flags to:

-objc -force_load "core plot library name" 

-all_load not needed if using 4.2+ version.

the reason -force_load -all_load trying compile other libraries had in project.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -