Currently i am trying to optimize my modulemap. The problem was that i could not add my framework to my project because i used a obj-c Framework in my swift framework. I added the Obc-c headers in my modulemap and made the module work and could successfull add my framework to my project. The problem is that I cant make it work with realative path to my headers. And using absoute path is only a temp solution and not co worker friendly.
Right not I have to set this kinda absolute path:
header "/Users/me/Documents/framework_project/Folder/OBJC_LIB.framework/Headers/someHeader.h"
I added this modulemap in my framework project as private modulemap. Is there any option to my this work like this?
header "./Folder/OBJC_LIB.framework/Headers/someHeader.h"
Thanks in advance.
Having encountered the same problem, I finally found that the
HEADER_SEARCH_PATH
of the Swift framework must contain the path to the ObjC framework's umbrella header.