现在的位置: 首页 > 综合 > 正文

CorePlots 不支持64位解决方案 以及 CorePlots 相关

2018年04月19日 ⁄ 综合 ⁄ 共 810字 ⁄ 字号 评论关闭

CorePlots 不支持64位解决方案

stackoverflow上已有解决方案,点击打开链接

摘录:

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.

CGColorSpaceRef colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);

==> CGColorSpaceCreateDeviceRGB();

整理的打包版(支持similar 和真机):

百度网盘下载地址点击打开

集成coreplots

详情可见其他人写的博客:http://blog.csdn.net/kmyhy/article/details/6213083 一步步做比较不容易出错。

但凡打包.a 文件的时候,如果使用了category,容易出现编译正确,但是一打开就崩溃的问题需要做如下处理:

“Other Linker Flags”设置项,双击添加这两个标志-ObjC-all_load

抱歉!评论已关闭.