objective c - Excluding internal headers from framework umbrella header -


while trying begin using swift in framework (including turning on module support), started getting messages this:

[snip]/<module-includes>:1:1: umbrella header module 'presskit' not include header 'npkbaseappearance.h' 

the headers in question (there ten of them) not listed in presskit.h, reason—they include internal or rarely-used classes , categories don't want expose users of framework. (some of them i'd expose in select places; others should never exposed.)

marking headers private doesn't seem help. warning in framework's project, error in each target using framework, can't ignore problem.

obviously can add these headers umbrella header, don't want to. violating rule of framework design when using modules? what's recommended way handle sort of situation?

don't know if solved issue did try exclude headers don't want export in custom .modulemap file?

have at: clang 3.7 documentation - modules


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -