Xcode: LLVM 7.0: Disable warning “Umbrella header for module does not include header”

前端 未结 3 937
我在风中等你
我在风中等你 2021-02-07 14:38

In order for my Objective-C framework to link successfully in my Swift cocoa touch framework, I had to use this unpretty workaround, which involves importing all framework heade

3条回答
  •  南旧
    南旧 (楼主)
    2021-02-07 15:19

    Try setting the header role from public to project and make sure that you don't reference any third-party headers from your own headers - only from implementations.

    Any header that is of role public must be imported into the umbrella header.

提交回复
热议问题