Skip to content

Commit 76be5bc

Browse files
committed
Add custom module map for CocoaPods user, which avoid automatically generated umbrella headers
1 parent 2c089aa commit 76be5bc

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

SVGKit.podspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ Pod::Spec.new do |s|
2424
s.framework = 'QuartzCore', 'CoreText'
2525
s.dependency 'CocoaLumberjack', '~> 3.x'
2626
s.prefix_header_file = 'SVGKitLibrary/SVGKit-iOS/SVGKit-Prefix.pch'
27+
s.module_map = 'SVGKitLibrary/SVGKit-iOS/SVGKit.modulemap'
2728
s.requires_arc = true
2829
s.xcconfig = {
2930
'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++11',
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
framework module SVGKit {
2+
umbrella header "SVGKit.h"
3+
4+
export *
5+
module * { export * }
6+
}

0 commit comments

Comments
 (0)