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

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top