解决办法:在build settings 里 Compile Sources As选项改为Objective C++即可
或者在.pch文件中
#ifdef __OBJC__
#import "iOS-Echarts.h"
#endif