And then it could be linked and used from Objective-C with the
@import MyStaticLib;
syntax.
If so, how, exactly, do you do this.
And then it could be linked and used from Objective-C with the
@import MyStaticLib;
syntax.
If so, how, exactly, do you do this.
If you can edit the library Xcode project you can create a *.modulemap
file and set it to the MODULEMAP_FILE
Build Setting.
Sample map file from CocoaLumberjack:
framework module CocoaLumberjack {
umbrella header "CocoaLumberjack.h"
export *
module * { export * }
}
module CocoaLumberjack.DDContextFilterLogFormatter {
header "DDContextFilterLogFormatter.h"
export *
}
module CocoaLumberjack.DDDispatchQueueLogFormatter {
header "DDDispatchQueueLogFormatter.h"
export *
}
module CocoaLumberjack.DDMultiFormatter {
header "DDMultiFormatter.h"
export *
}
module CocoaLumberjack.DDASLLogCapture {
header "DDASLLogCapture.h"
export *
}
module CocoaLumberjack.DDAbstractDatabaseLogger {
header "DDAbstractDatabaseLogger.h"
export *
}