Skip to content

Commit

Permalink
Add path to module_map to PromisesObjC podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysharm committed Oct 3, 2019
1 parent 7373ade commit e4364c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PromisesObjC.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Pod::Spec.new do |s|
s.public_header_files = "Sources/#{s.module_name}/include/**/*.h"
s.private_header_files = "Sources/#{s.module_name}/include/FBLPromisePrivate.h"
s.source_files = "Sources/#{s.module_name}/**/*.{h,m}"
s.xcconfig = {
s.module_map = "Sources/#{s.module_name}/include/framework.modulemap"
s.pod_target_xcconfig = {
'HEADER_SEARCH_PATHS' => "\"${PODS_TARGET_SRCROOT}/Sources/#{s.module_name}/include\""
}

Expand Down

0 comments on commit e4364c2

Please sign in to comment.