I was interested to inspect globally available modulemaps of Objective-C language under macOS and was wondering if it's possible to add one myself. Is there a way to know where a particular module (e.g. Foundation) is located?
@import Foundation; // Where this comes from?
int main(int argc, const char * argv[]) {
@autoreleasepool {
NSLog(@"Hello, world!");
}
return 0;
}