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

Constraint simulator search to deployment target

parent 1b0b1025
......@@ -107,7 +107,7 @@ PATH
cocoapods-try (~> 0.5.1)
colored (~> 1.2)
escape (~> 0.0.4)
fourflusher (~> 0.2.0)
fourflusher (~> 0.3.0)
molinillo (~> 0.4.0)
nap (~> 1.0)
xcodeproj (~> 0.28.2)
......@@ -139,7 +139,7 @@ GEM
diffy (3.1.0)
escape (0.0.4)
ffi (1.9.6)
fourflusher (0.2.0)
fourflusher (0.3.0)
fuzzy_match (2.0.4)
i18n (0.7.0)
inch (0.7.0)
......
......@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'escape', '~> 0.0.4'
s.add_runtime_dependency 'activesupport', '>= 4.0.2'
s.add_runtime_dependency 'nap', '~> 1.0'
s.add_runtime_dependency 'fourflusher', '~> 0.2.0'
s.add_runtime_dependency 'fourflusher', '~> 0.3.0'
s.add_development_dependency 'bundler', '~> 1.3'
s.add_development_dependency 'rake', '~> 10.0'
......
......@@ -700,11 +700,11 @@ module Pod
command = %w(clean build -workspace App.xcworkspace -scheme App -configuration Release)
case consumer.platform_name
when :ios
command += %w(CODE_SIGN_IDENTITY=- -sdk iphonesimulator) + Fourflusher::SimControl.new.destination('iPhone 4s')
command += %w(CODE_SIGN_IDENTITY=- -sdk iphonesimulator) + Fourflusher::SimControl.new.destination('iPhone 4s', deployment_target)
when :watchos
command += %w(CODE_SIGN_IDENTITY=- -sdk watchsimulator) + Fourflusher::SimControl.new.destination('Apple Watch - 38mm')
command += %w(CODE_SIGN_IDENTITY=- -sdk watchsimulator) + Fourflusher::SimControl.new.destination('Apple Watch - 38mm', deployment_target)
when :tvos
command += %w(CODE_SIGN_IDENTITY=- -sdk appletvsimulator) + Fourflusher::SimControl.new.destination('Apple TV 1080p')
command += %w(CODE_SIGN_IDENTITY=- -sdk appletvsimulator) + Fourflusher::SimControl.new.destination('Apple TV 1080p', deployment_target)
end
output, status = Dir.chdir(validation_dir) { _xcodebuild(command) }
......
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