iOS 出现too many errors emitted, stopping now解决办法

解决办法:

让整个pch文件的内容在这两行代码以内

#ifdef __OBJC__ 

#endif 

便可以解决该问题


参考文章:

参考1:iOS SDK开发时,有关OC和C++混编造成其它类错误的问题(Compile Sources As Objective-C++)

参考2:莫名其妙的错误:could not build module ‘Foundation’

猜你喜欢

转载自blog.csdn.net/baicai_520/article/details/53508514