美文网首页
iOS 开发之"Use of '@import' when C+

iOS 开发之"Use of '@import' when C+

作者: KODIE | 来源:发表于2019-12-13 11:16 被阅读0次

详细问题

问题内容:

Use of '@import' when C++ modules are disabled, 
consider using -fmodules and -fcxx-modules

问题截图:


Snip20191213_67.png

问题出现:
主要是近期更新FBSDK,更换完成后出现了如上的报错问题。

问题解决:
build setting--> other c++ flags中添加下列一项:

-fcxx-modules

截图如下:


Snip20191213_68.png

以上问题解决!!!~~~

相关文章

网友评论

      本文标题:iOS 开发之"Use of '@import' when C+

      本文链接:https://www.haomeiwen.com/subject/bkhfnctx.html