Commit 9cfdab02 authored by Boris Bügling's avatar Boris Bügling Committed by Samuel Giddins

Lint with `appletvsimulator` to avoid code signing issues

parent 9f8a8a62
......@@ -617,6 +617,8 @@ module Pod
command << ' CODE_SIGN_IDENTITY=- -sdk iphonesimulator'
when :watchos
command << ' CODE_SIGN_IDENTITY=- -sdk watchsimulator'
when :tvos
command << ' CODE_SIGN_IDENTITY=- -sdk appletvsimulator'
end
output, status = _xcodebuild "#{command} 2>&1"
......
......@@ -406,6 +406,7 @@ module Pod
Executable.expects(:which).with('xcodebuild').times(4).returns('/usr/bin/xcodebuild')
command = 'xcodebuild clean build -target Pods'
validator.expects(:`).with("#{command} 2>&1").once.returns('')
validator.expects(:`).with("#{command} CODE_SIGN_IDENTITY=- -sdk appletvsimulator 2>&1").once.returns('')
validator.expects(:`).with("#{command} CODE_SIGN_IDENTITY=- -sdk iphonesimulator 2>&1").once.returns('')
validator.expects(:`).with("#{command} CODE_SIGN_IDENTITY=- -sdk watchsimulator 2>&1").once.returns('')
validator.validate
......
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