Commit 7b89f417 authored by Thomas Kollbach's avatar Thomas Kollbach

validate watchos pods against watchossimulator

parent 34156c09
......@@ -608,8 +608,15 @@ module Pod
# returns its output (both STDOUT and STDERR).
#
def xcodebuild
command = 'xcodebuild clean build -target Pods'
command << ' CODE_SIGN_IDENTITY=- -sdk iphonesimulator' if consumer.platform_name == :ios
command = 'xcodebuild clean build -target Pods
'
case consumer.platform_name
when :ios
command << ' CODE_SIGN_IDENTITY=- -sdk iphonesimulator'
when :watchos
command << ' CODE_SIGN_IDENTITY=- -sdk watchsimulator'
end
output, status = _xcodebuild "#{command} 2>&1"
unless status.success?
......
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