From 469321f9b86b324b7b2c67b4549b8fa8652b31b2 Mon Sep 17 00:00:00 2001 From: Fabio Pelosin Date: Thu, 4 Jul 2013 17:42:20 +0200 Subject: [PATCH] [Validator] Build correct target --- CHANGELOG.md | 2 ++ lib/cocoapods/validator.rb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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 #-------------------------------------------------------------------------#