iOS导入CorePlot用于绘制饼图

    最近在iOS开发中用到CorePlot,遇到几个问题:

    错误:  

missing required architecture x86_64 in file libCorePlot-CocoaTouch.a

    解决方法:其1.5以上版本才支持64位的系统,下载CorePlot,下载时可能很慢或出错称找不到亚马逊服务器,将下载链接的https 改为http即可。

 

   

    新版需要bitcode,下载2.0以上版本支持bitcode. 在导入framework前了解一下  iOS库--.a与.framework ,其中有动态库和静态库的区别和描述。

错误:

dyld: Library not loaded

    解决方法暂时参考 http://blog.sina.com.cn/s/blog_735744180101crct.html ,大意是将出现问题的CorePlot.framework 在Link Binary With Libraries中的Status改成optional即可。

    目前 该方法在Mac端Xcode下的虚拟机上测可用,真机测试尚未可知,可能需要参考          解决 “dyld: Library not loaded: ” 错误                     ,涉及动态库和静态库的问题

 

posted on 2016-06-02 09:30  hnebs  阅读(395)  评论(0)    收藏  举报