I have a CocoaPod written in Swift 4. Now I need to add some new features to this pod. To be able to do it I need to use a static framework written in Objective-C.
I supposed I need to use a bridging header, but I don't know how should I modify my .podspec in such case. When I am trying to add a header file with this line of code:
#import <MyObjectiveCFramework/MyObjectiveCFramework.h>
to s.source_files
I see this error: Include of non-modular header inside framework module.
Also, I found out that I can use a special module.modulemap file, but what data should I add to that file and how can I refer to the module.modulemap in my .podspec file?