Commit 70656445 authored by Eloy Durán's avatar Eloy Durán

[xcconfig] Always exlude `USE_HEADERMAP` from the user’s project. #1216

parent d4041e53
...@@ -12,6 +12,9 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -12,6 +12,9 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
###### Bug Fixes ###### Bug Fixes
* Always exlude `USE_HEADERMAP` from the user’s project.
[#1216](https://github.com/CocoaPods/CocoaPods/issues/1216)
* Use correct template repo when using the `pod lib create` command. * Use correct template repo when using the `pod lib create` command.
[#1214](https://github.com/CocoaPods/CocoaPods/issues/1214) [#1214](https://github.com/CocoaPods/CocoaPods/issues/1214)
......
...@@ -28,6 +28,10 @@ module Pod ...@@ -28,6 +28,10 @@ module Pod
end end
end end
# TODO Need to decide how we are going to ensure settings like these
# are always excluded from the user's project.
@xcconfig.attributes.delete('USE_HEADERMAP')
@xcconfig @xcconfig
end end
......
...@@ -453,7 +453,7 @@ module Pod ...@@ -453,7 +453,7 @@ module Pod
executed = false executed = false
libraries_using_spec(spec).each do |lib| libraries_using_spec(spec).each do |lib|
lib_representation = library_rep(lib) lib_representation = library_rep(lib)
executed |= run_spec_pre_install_hook(spec, lib_representation) executed ||= run_spec_pre_install_hook(spec, lib_representation)
end end
UI.message "- #{spec.name}" if executed UI.message "- #{spec.name}" if executed
end end
...@@ -512,7 +512,7 @@ module Pod ...@@ -512,7 +512,7 @@ module Pod
executed = false executed = false
libraries_using_spec(spec).each do |lib| libraries_using_spec(spec).each do |lib|
lib_representation = library_rep(lib) lib_representation = library_rep(lib)
executed |= run_spec_post_install_hook(spec, lib_representation) executed ||= run_spec_post_install_hook(spec, lib_representation)
end end
UI.message "- #{spec.name}" if executed UI.message "- #{spec.name}" if executed
end end
......
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