Commit ffe6470b authored by Boris Bügling's avatar Boris Bügling

[Validator] Build for iOS simulator only.

Fixes CocoaPods/swift#13
parent 6f0164ab
...@@ -519,8 +519,11 @@ module Pod ...@@ -519,8 +519,11 @@ module Pod
# returns its output (both STDOUT and STDERR). # returns its output (both STDOUT and STDERR).
# #
def xcodebuild def xcodebuild
UI.puts 'xcodebuild clean build -target Pods' if config.verbose? command = 'xcodebuild clean build -target Pods CODE_SIGN_IDENTITY=-'
output = `xcodebuild clean build -target Pods 2>&1` command << ' -sdk iphonesimulator' if consumer.platform_name == :ios
UI.puts command if config.verbose?
output = `#{command} 2>&1`
unless $?.success? unless $?.success?
message = 'Returned a unsuccessful exit code.' message = 'Returned a unsuccessful exit code.'
......
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