Make sure you're using a recent version of Core Plot. Release 1.5.1 contains several changes that were required for Xcode 5.1.
CorePlot / iOS 7.1 / XCode 5.1 After update to XCode 5.1 build fails
Question
I have updated to XCode 5.1 and iOS 7.1 on my device (because my customer required me to). After the update, building fails with a bunch of errors related to core plot:
ld: warning: ignoring file /Users/michi/Documents/MedSafe/libCorePlot-CocoaTouch.a, missing required architecture x86_64 in file /Users/michi/Documents/MedSafe/libCorePlot-CocoaTouch.a (3 slices) Undefined symbols for architecture x86_64: "_CPTDecimalFromFloat", referenced from: -[MRGewichtKurveViewController configurePlotSpace] in MRGewichtKurveViewController.o -[MRGewichtKurveViewController configureAxes] in MRGewichtKurveViewController.o -[MRGewichtKurveViewController changePlotRange] in MRGewichtKurveViewController.o -[MRBlutdruckKurveViewController configurePlotSpace] in MRBlutdruckKurveViewController.o -[MRBlutdruckKurveViewController configureAxes] in MRBlutdruckKurveViewController.o -[MRBlutdruckKurveViewController changePlotRange] in MRBlutdruckKurveViewController.o -[MRBMIKurveViewController configurePlotSpace] in MRBMIKurveViewController.o ...
and a lot of others, all involving core plot.
Seems that somehow linking fails or something else while compiling fails. I am a complete noob when it comes to this kind of error :(
Please advice me
La solution