I have a naming conflict with the Umbrella header. My framework name is "SecureData", but I want to have an objective-c class in this framework called "SecureData".
The problem is that the umbrella header has to be called "SecureData.h" and I can't figure out how to specify a different name for the umbrella header in xcode settings. Is this possible, or do I just need to come up with a different name?
It's Possible.
You can specify a different name for the umbrella header by Module Map File
.
Create new modulemap file for Project.
framework module XXXProject {
umbrella header "XXNewumbrellaName.h"
export *
module * { export * }
}
Build Settings -> Packaging -> Module Map File
Ok, You expected effect is achieved.
I hope this will help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With