做混合编译之前一定要把编译器的Compile Sources As选项改为Objective C++ 转载于:https://www.cnblogs.com/ITliufei/p/5867359.html