Temporary fix for CocoaPods modular headers because they place the modulemap into the Pods/Private headers, make the `export *` export both Public and Private headers. However, their own generated modulemap does not

This commit is contained in:
DreamPiggy 2019-06-07 11:47:26 +08:00
parent 547f9d895e
commit 1139afa28a
1 changed files with 13 additions and 0 deletions

View File

@ -1,5 +1,18 @@
framework module SDWebImage {
umbrella header "SDWebImage.h"
// until CocoaPods fix the bug when using modular headers in #8879
// we have to exclude Private Headers manually even we use Podspec `private_header_files` syntax
exclude header "SDWeakProxy.h"
exclude header "SDInternalMacros.h"
exclude header "SDmetamacros.h"
exclude header "NSBezierPath+RoundedCorners.h"
exclude header "UIColor+HexString.h"
exclude header "SDAsyncBlockOperation.h"
exclude header "SDImageAPNGCoderInternal.h"
exclude header "SDImageGIFCoderInternal.h"
exclude header "SDImageCachesManagerOperation.h"
exclude header "SDImageAssetManager.h"
export *
module * { export * }