francesco.venica
francesco.venica

Reputation: 1721

missing required architecture x86_64 -core plot

I put core-plot 1.4 header into my project, add library, add quartz-core, accelerate, -ObjC on linker flag but If I try to compile I get this error: enter image description here

Upvotes: 1

Views: 2204

Answers (2)

YSR fan
YSR fan

Reputation: 735

  1. Do general set up for supporting 64 bit in Project --> Build settings.
  2. Download the libCoreplot-CorePloat.a static library here:

"https://www.dropbox.com/s/023f0bjrbjo855m/libCorePlot-CocoaTouch.a%202?dl=0"

It supports i368 , arm64 , armv7 and armv7s.

Upvotes: 1

Eric Skroch
Eric Skroch

Reputation: 27381

64-bit builds require iOS 7. Since Core Plot still supports earlier iOS versions we cannot turn on 64-bit by default. However, if you build the Core Plot library from source, you can change the project settings to build a 64-bit version. Either make Core Plot a dependent project inside your app, or build the "Universal Library" target to make a new static library.

Upvotes: 6

Related Questions