Commit 5bc3fc01 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[PodTargetInstaller] Fixed static analysis in Xcode 6

Closes https://github.com/CocoaPods/CocoaPods/issues/2402

Conflicts:
	CHANGELOG.md
parent 3fe8b500
...@@ -92,6 +92,10 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides ...@@ -92,6 +92,10 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
[Robert Zuber](https://github.com/z00b) [Robert Zuber](https://github.com/z00b)
[#1904](https://github.com/CocoaPods/CocoaPods/issues/1904) [#1904](https://github.com/CocoaPods/CocoaPods/issues/1904)
* Fixed static analysis in Xcode 6
[Samuel Giddins](segiddins)
[#2402](https://github.com/CocoaPods/CocoaPods/issues/2402)
* Fixes an issue where version of a spec will not be locked when using multiple * Fixes an issue where version of a spec will not be locked when using multiple
subspecs of a podspec. subspecs of a podspec.
[Kyle Fuller](https://github.com/kylef) [Kyle Fuller](https://github.com/kylef)
......
...@@ -163,7 +163,7 @@ module Pod ...@@ -163,7 +163,7 @@ module Pod
end end
end end
if target_definition.inhibits_warnings_for_pod?(consumer.spec.root.name) if target_definition.inhibits_warnings_for_pod?(consumer.spec.root.name)
flags << '-w -Xanalyzer -analyzer-disable-checker' flags << '-w -Xanalyzer -analyzer-disable-checker -Xanalyzer deadcode'
end end
flags * ' ' flags * ' '
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