I have an app that uses FrameworkA and FrameworkB.
FrameworkA is simple, i.e., no dependencies.
FrameworkB includes FrameworkA, which is normal. But it also uses pieces of FrameworkA's public interface in its own public interface. Yes, I find that a bit odd... (I didn't make those frameworks... just trying to sort out things...)
Now I am trying to enable Xcode's module verifier for FrameworkB and the problem begins...
FrameworkB can no longer have
#import <FrameworkA/FramworkASomethingSomething.h>
in its public headers.
The modulemap
file for FrameworkB currently looks like
framework module FrameworkB {
umbrella header "FrameworkB.h"
export *
module * { export * }
}
Is it possible still use FrameworkA's public interface in FrameworkB's public interface?
And if yes, how is that sorted out in the modulemap?
So far I have tried
framework module FrameworkB {
umbrella header "FrameworkB.h"
export *
module * { export * }
link framework "FrameworkA"
module FrameworkA [system] {
umbrella header "FrameworkA.h"
export *
}
}
But it gives the error
Umbrella header 'FrameworkA.h' not found
Thanks!