Coreplot 1.5.x arm64 - 架构 arm64 的未定义符号:

Coreplot 1.5.x arm64 - Undefined symbols for architecture arm64:

正在尝试使用适用于 arm64 的 libCorePlot 进行编译。我从这里复制了说明 Using Core Plot 2 in an Xcode 5 project

lipo libCorePlot-CocoaTouch.a -info
Architectures in the fat file: libCorePlot-CocoaTouch.a are: armv7 i386 x86_64 arm64


Undefined symbols for architecture arm64:
  "_vDSP_minvD", referenced from:
      -[CPTPlot plotRangeForField:] in libCorePlot-CocoaTouch.a(CPTPlot.o)
  "_vDSP_maxvD", referenced from:
      -[CPTPlot plotRangeForField:] in libCorePlot-CocoaTouch.a(CPTPlot.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

这在以后的 Core Plot 版本中已修复。 1.5.1 版于 2014 年 3 月发布。

对于下载最新版本后仍然遇到此问题的用户,只需 link

Accelerate.framework

到您的应用程序。最新的 2.2+ 静态库版本现在可以正常工作。