Remove [system] declaration attribute from generated module maps

parent 56231f98
...@@ -20,6 +20,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre` ...@@ -20,6 +20,10 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
##### Bug Fixes ##### Bug Fixes
* Remove [system] declaration attribute from generated module maps
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#7589](https://github.com/CocoaPods/CocoaPods/issues/7589)
* Properly namespace Info.plist names during target installation * Properly namespace Info.plist names during target installation
[Dimitris Koutsogiorgas](https://github.com/dnkoutso) [Dimitris Koutsogiorgas](https://github.com/dnkoutso)
[#7611](https://github.com/CocoaPods/CocoaPods/pull/7611) [#7611](https://github.com/CocoaPods/CocoaPods/pull/7611)
......
...@@ -90,12 +90,9 @@ module Pod ...@@ -90,12 +90,9 @@ module Pod
end end
# The suffix attributes to `module`. # The suffix attributes to `module`.
# Ensures that library module maps are treated as `system` modules,
# supressing warnings when imported, as is done for header imports given via `-isystem`.
# #
def module_declaration_attributes def module_declaration_attributes
return '' if target.requires_frameworks? ''
' [system]'
end end
end end
end end
......
Subproject commit 7687e181cfc3200ff143e5dc1c9d7a8a378befcf Subproject commit 482395da30d5fc55872498d471f2173dc94e8331
...@@ -27,7 +27,7 @@ module Pod ...@@ -27,7 +27,7 @@ module Pod
@pod_target.stubs(:requires_frameworks?).returns(false) @pod_target.stubs(:requires_frameworks?).returns(false)
@gen.save_as(path) @gen.save_as(path)
path.read.should == <<-EOS.strip_heredoc path.read.should == <<-EOS.strip_heredoc
module BananaLib [system] { module BananaLib {
umbrella header "BananaLib-umbrella.h" umbrella header "BananaLib-umbrella.h"
export * export *
......
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