Xcode 框架:模块“Test"的 Umbrella 标头不包括标头“NewTest.h" [英] Xcode Framework: Umbrella header for module 'Test' does not include header 'NewTest.h'

查看:29
本文介绍了Xcode 框架:模块“Test"的 Umbrella 标头不包括标头“NewTest.h"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

framework module Test {
  umbrella header "Test.h"

  export *
  module * { export * }
}

这就是我的模块文件的样子.如何解决以下警告.

This is what my module file looks like. How can I resolve the following warning.

模块Test"的伞头不包括头NewTest.h"

Umbrella header for module 'Test' does not include header 'NewTest.h'

我不熟悉模块文件.

推荐答案

你应该有一个模块映射

修改代码为-

 framework module Test {
      umbrella header "Test.h"

      export *
      module * { export * }

 explicit module BFAppLinkResolving {
    header "BFAppLinkResolving.h"
    link "BFAppLinkResolving"
    export *
  }

  explicit module BFWebViewAppLinkResolver {
      header "BFWebViewAppLinkResolver.h"
      link "BFAWebViewAppLinkResolver"
      export *
  }
    }

这篇关于Xcode 框架:模块“Test"的 Umbrella 标头不包括标头“NewTest.h"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆