missing required architecture x86_64 in file libCorePlot-CocoaTouch.a

后端 未结 9 766
春和景丽
春和景丽 2020-12-25 13:57

According to the Ray Wenderlich tutorial, I done the following :

Step 1 - I downloaded CorePlot_1.4.zip o

相关标签:
9条回答
  • 2020-12-25 14:36

    CorePlot has released 1.5.1 to work with Xcode 5.1. You only need to copy the CorePlotHeaders folder and the libCorePlot-CocoaTouch.a file to your project.

    You can download it from here.

    0 讨论(0)
  • 2020-12-25 14:37

    If you don't want to go through the process of downloading and building the project, I built the universal library (for armv7, armv7s and arm64) and put it up here.

    This is built from coreplot commit id cc0a18cef8915f4a11e0699e9429c0a2f0018b42.

    0 讨论(0)
  • 2020-12-25 14:47

    If you want a 64-bit version of Core Plot, you'll have to build a new version of the static library. Arm64 builds require iOS 7 but Core Plot supports earlier versions, too, so the pre-built library is 32-bit only.

    Open CorePlot-CocoaTouch.xcodeproj and change the architecture settings to "Standard Architectures (including 64-bit)". Either build the "Universal Library" target and include the resulting static library in place of the one included with Core Plot 1.4 or use the dependent project setup instead.

    0 讨论(0)
提交回复
热议问题