Umbrell Heder for Module Bolts does not include heder 'XXXXXX.h'?

大家好!今天让小编来大家介绍下关于Umbrell Heder for Module Bolts does not include heder 'XXXXXX.h'?的问题,以下是酷知号的小编对此问题的归纳整理,让我们一起来看看吧。

Umbrell Heder for Module Bolts does not include heder 'XXXXXX.h'?

在我们引入第三方Framwork时。有时会出现如标题的警告提示?

怎样解决?

Framework 将在下面文件夹下创建一个Module/,并创建一个module.modulemap文件


<img src="http://img.blog.csdn.net/20150723114124607?

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center” alt=””>



我们须要在module.modulemap中,添加一个header文件(XXXXXXX.h)。以达到显示Module的功能。

以下是怎样在module.modulemap文件加入header文件
的方法:

framework module UUAP {

  umbrella
header "UUAP.h"

  export *

  module * {
export * }

  

  explicit
module XXXXXXX
{

      header
"XXXXXXX.h"

      link
"XXXXXXX"

      export *

  }

  

}

以上就是小编对于Umbrell Heder for Module Bolts does not include heder 'XXXXXX.h'?问题和相关问题的解答了,Umbrell Heder for Module Bolts does not include heder 'XXXXXX.h'?的问题希望对你有用!

文章来自互联网,只做分享使用。发布者:酷知号,转转请注明出处:https://www.kuzhihao.com/article/388661.html

(0)
上一篇 2023年8月20日
下一篇 2023年8月20日

相关推荐