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'
The module map language describes the mapping from header files to the logical structure of modules. To enable support for using a library as a module, one must write a module. modulemap file for that library.
I found another solution, Xcode provides a way to specify umbrella header through 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 * } }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With