Rename umbrella header

I have a name conflict with the title Umbrella. My frame name is "SecureData", but I want to have an objective-c class in this structure called "SecureData".

The problem is that the umbrella header must be called "SecureData.h", and I cannot figure out how to specify a different umbrella header name in the xcode settings. Is this possible, or do I just need to come up with a different name?

+9
ios xcode macos
Aug 22 '15 at 6:31
source share
1 answer

Maybe.

You can specify a different name for the umbrella header of the Module Map File .

  • Create a new module file for the project.

     framework module XXXProject { umbrella header "XXNewumbrellaName.h" export * module * { export * } } 
  • Specify modulemap file: Build Settings -> Packaging -> Module Map File

Well, you expected the effect to be achieved.

Hope this helps you.

+15
Aug 22 '15 at 7:06
source share



All Articles