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

Use `fourflusher` 1.0.1

That version offers the ability to look for the oldest simulator
available for a particular OS, so that we do not have to hardcode device
names anymore.
parent aae73787
...@@ -107,7 +107,7 @@ PATH ...@@ -107,7 +107,7 @@ PATH
cocoapods-try (>= 1.0.0, < 2.0) cocoapods-try (>= 1.0.0, < 2.0)
colored (~> 1.2) colored (~> 1.2)
escape (~> 0.0.4) escape (~> 0.0.4)
fourflusher (~> 0.3.0) fourflusher (~> 1.0.1)
molinillo (~> 0.5.0) molinillo (~> 0.5.0)
nap (~> 1.0) nap (~> 1.0)
xcodeproj (>= 1.1.0, < 2.0) xcodeproj (>= 1.1.0, < 2.0)
...@@ -149,7 +149,7 @@ GEM ...@@ -149,7 +149,7 @@ GEM
faraday (0.9.2) faraday (0.9.2)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.6) ffi (1.9.6)
fourflusher (0.3.1) fourflusher (1.0.1)
fuzzy_match (2.0.4) fuzzy_match (2.0.4)
git (1.3.0) git (1.3.0)
i18n (0.7.0) i18n (0.7.0)
......
...@@ -43,7 +43,7 @@ Gem::Specification.new do |s| ...@@ -43,7 +43,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'activesupport', '>= 4.0.2' s.add_runtime_dependency 'activesupport', '>= 4.0.2'
s.add_runtime_dependency 'colored', '~> 1.2' s.add_runtime_dependency 'colored', '~> 1.2'
s.add_runtime_dependency 'escape', '~> 0.0.4' s.add_runtime_dependency 'escape', '~> 0.0.4'
s.add_runtime_dependency 'fourflusher', '~> 0.3.2' s.add_runtime_dependency 'fourflusher', '~> 1.0.1'
s.add_runtime_dependency 'nap', '~> 1.0' s.add_runtime_dependency 'nap', '~> 1.0'
s.add_development_dependency 'bacon', '~> 1.1' s.add_development_dependency 'bacon', '~> 1.1'
......
...@@ -722,13 +722,13 @@ module Pod ...@@ -722,13 +722,13 @@ module Pod
case consumer.platform_name case consumer.platform_name
when :ios when :ios
command += %w(CODE_SIGN_IDENTITY=- -sdk iphonesimulator) command += %w(CODE_SIGN_IDENTITY=- -sdk iphonesimulator)
command += Fourflusher::SimControl.new.destination('iPhone 5', deployment_target) command += Fourflusher::SimControl.new.destination(:oldest, 'iOS', deployment_target)
when :watchos when :watchos
command += %w(CODE_SIGN_IDENTITY=- -sdk watchsimulator) command += %w(CODE_SIGN_IDENTITY=- -sdk watchsimulator)
command += Fourflusher::SimControl.new.destination('Apple Watch - 38mm', deployment_target) command += Fourflusher::SimControl.new.destination(:oldest, 'watchOS', deployment_target)
when :tvos when :tvos
command += %w(CODE_SIGN_IDENTITY=- -sdk appletvsimulator) command += %w(CODE_SIGN_IDENTITY=- -sdk appletvsimulator)
command += Fourflusher::SimControl.new.destination('Apple TV 1080p', deployment_target) command += Fourflusher::SimControl.new.destination(:oldest, 'tvOS', deployment_target)
end end
output, status = Dir.chdir(validation_dir) { _xcodebuild(command) } 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