eoinnorris / core-plot

Automatically exported from code.google.com/p/core-plot
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Doesn't work in iOS 5 #552

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Complete Process for adding CorePlot as Static Library
2.Set -ObjC flag for other linking flag,set required compiler.
3.Set Target OS as iOS5.1

Need to compile successfully for Cmd+B 

CorePlot 1.3 with iOS5.1 for Iphone4 or higher. 

But gives me error like :

Undefined symbols for architecture i386:
  "_NSFontAttributeName", referenced from:
      +[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) textStyleWithAttributes:] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
      -[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) attributes] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
      +[CPTMutableTextStyle(CPTPlatformSpecificMutableTextStyleExtensions) textStyleWithAttributes:] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
  "_NSForegroundColorAttributeName", referenced from:
      +[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) textStyleWithAttributes:] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
      -[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) attributes] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
      +[CPTMutableTextStyle(CPTPlatformSpecificMutableTextStyleExtensions) textStyleWithAttributes:] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
  "_NSParagraphStyleAttributeName", referenced from:
      +[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) textStyleWithAttributes:] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
      -[CPTTextStyle(CPTPlatformSpecificTextStyleExtensions) attributes] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
      +[CPTMutableTextStyle(CPTPlatformSpecificMutableTextStyleExtensions) textStyleWithAttributes:] in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
  "_OBJC_CLASS_$_NSMutableParagraphStyle", referenced from:
      objc-class-ref in libCorePlot-CocoaTouch.a(CPTTextStylePlatformSpecific.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Original issue reported on code.google.com by viral.savaj@india.biztechconsultancy.com on 23 Jul 2013 at 11:53

GoogleCodeExporter commented 8 years ago
Core Plot needs to be built against the latest iOS SDK. Set the base SDK to 6.1 
or later. The deployment target can be lower--iOS 3.1.3 for release 1.3 and iOS 
4.3 for the version 2.0 branch.

Original comment by eskr...@mac.com on 24 Jul 2013 at 1:48

GoogleCodeExporter commented 8 years ago

Original comment by eskr...@mac.com on 31 Jul 2013 at 11:20