I created my own wrapper around dylib. Then I created a header file to export characters from this library. I am faced with a situation where this header is in a shell and modulemap cannot find it.
> MyFramework (project directory) > MyFramework.xcconfig MODULEMAP_FILE[sdk=macosx*] = $(SRCROOT)/MyFramework/macosx.modulemap > macosx.modulemap: module MyFramework [system] { header "MyFramework.h"
I found examples with absolute paths pointing to the SDK, but I really don't want to hard code the path to my project on my local drive.
I tried the file name prefix with $ (SRCROOT) / MyFramework and other relative parameters, but no luck.
What should i use instead?
source share