Xcode 8.1 umbrella header not found

I have an xcode project that I use as a framework.
I got this issue after upgrading to xcode 8.1 saying ” Umbrella header ‘nameofmodule.h’ not found’

screen-shot-2016-11-21-at-2-43-47-pm

 

 

 

 

Solution

create a header file and name it as your modulename is.

screen-shot-2016-11-21-at-2-45-38-pm screen-shot-2016-11-21-at-2-45-47-pm

 

 

 

 

 

 

 

in the header file add these lines

#ifdef __OBJC__

#import <UIKit/UIKit.h>

#endif

FOUNDATION_EXPORT double <#modulename#>swiftVersionNumber;

FOUNDATION_EXPORT const unsigned char <#modulename#>swiftVersionString[];

 

thats it.