diff --git a/CHANGELOG.md b/CHANGELOG.md index a14356999c..5830cc4076 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,8 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides regression introduced by CocoaPods 0.22.1 and matching more closely Xcode behaviour. +* The validator now builds the Pods target instead of the first target actually + performing the validation. ## 0.22.1 [CocoaPods](https://github.com/CocoaPods/CocoaPods/compare/0.22.0...0.22.1) diff --git a/lib/cocoapods/validator.rb b/lib/cocoapods/validator.rb index 6541f06ae5..12fbefcf5b 100644 --- a/lib/cocoapods/validator.rb +++ b/lib/cocoapods/validator.rb @@ -344,7 +344,7 @@ def parse_xcodebuild_output(output) # returns its output (bot STDOUT and STDERR). # def xcodebuild - `xcodebuild clean build 2>&1` + `xcodebuild clean build -target Pods 2>&1` end #-------------------------------------------------------------------------#