Commit 1393a2c8 authored by Samuel E. Giddins's avatar Samuel E. Giddins

Merge pull request #3509 from CocoaPods/seg-no-umbrella-with-module-map

[PodTargetInstaller] Don't generate an umbrella header when a custom mod...
parents 6d631141 9261ee69
......@@ -37,6 +37,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[Samuel Giddins](https://github.com/segiddins)
[#3502](https://github.com/CocoaPods/CocoaPods/issues/3502)
* Don't generate an umbrella header when a custom module map is specified. This
avoids an incomplete module map warning.
[Samuel Giddins](https://github.com/segiddins)
## 0.37.0
......
......@@ -256,10 +256,10 @@ module Pod
end
def create_module_map
return super unless module_map = target.file_accessors.first.module_map
return super unless custom_module_map
path = target.module_map_path
UI.message "- Copying module map file to #{UI.path(path)}" do
FileUtils.cp(module_map, path)
FileUtils.cp(custom_module_map, path)
add_file_to_support_group(path)
native_target.build_configurations.each do |c|
......@@ -269,6 +269,14 @@ module Pod
end
end
def create_umbrella_header
return super unless custom_module_map
end
def custom_module_map
@custom_module_map ||= target.file_accessors.first.module_map
end
#-----------------------------------------------------------------------#
end
end
......
Subproject commit 54b58ff867ec82fb86bb925e32b175f0ca1d6964
Subproject commit be671e380b8d8bdc6726d83326fd87159ad98862
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment