There are answers on the stack overflow but none of them are working for me.
It's a Swift 2.0 project and I'm using Xcode 7.2.1
Steps to reproduce the problem
You'll see a warning.
Warning: no umbrella header found for target 'Logger', module map will not be generated
Please advise
Test Project Link -> https://www.dropbox.com/s/cvgjls70ielnriy/Test.zip?dl=0
so I learned about build phases and under header for Logger, i added logger.h in it's public interfaces.
Is it a bug or I don't know that Xcode didn't add any headers for the 3rd target/module automatically, it did add for the second one.
I added another target just for the test and header file is included, so this problem happens if you add a 3rd target/module (framework).
Hope it helps someone.
I added another target just for the test and header file is included, so this problem happens if you add a 3rd target/module (framework).
Actually there's no need to do that. Simply select Logger.h and use File Inspector:
As you can see, it has the wrong Target Membership; it has been added to the Common target. Simply uncheck Common and check Logger. Be sure to set the pop-up menu to Public.
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