no umbrella header found for target, module map will not be generated

I found another solution, Xcode provides a way to specify umbrella header through Module Map File configuration.

snapshot

The contents of module.modulemap should be:

framework module Foo {
    umbrella header "Bar.h"

    header "other-header.h"

    export *
    module * { export * }
}

Leave a Comment