Skip to content

Commit e4364c2

Browse files
committed
Add path to module_map to PromisesObjC podspec
1 parent 7373ade commit e4364c2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PromisesObjC.podspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Pod::Spec.new do |s|
2323
s.public_header_files = "Sources/#{s.module_name}/include/**/*.h"
2424
s.private_header_files = "Sources/#{s.module_name}/include/FBLPromisePrivate.h"
2525
s.source_files = "Sources/#{s.module_name}/**/*.{h,m}"
26-
s.xcconfig = {
26+
s.module_map = "Sources/#{s.module_name}/include/framework.modulemap"
27+
s.pod_target_xcconfig = {
2728
'HEADER_SEARCH_PATHS' => "\"${PODS_TARGET_SRCROOT}/Sources/#{s.module_name}/include\""
2829
}
2930

0 commit comments

Comments
 (0)