No umbrella header found to target, module map will not be generated


When I trying build CKCountdownButton as a framework in Xcode 6.3, it complains with

warning: no umbrella header found for target 'CKCountdownButton', module map will not be generated

Then when I import this framework in other project, it failed with No such module 'CKCountdownButton'

I found another solution, Xcode provides a way to specified unbrella header thru Module Map File configuration.

The contents of module.modulemap should be

framework module Foo {
    umbrella header "Bar.h"

    header "other-header.h"

    export *
    module * { export * }