gym/lib/gym/generators/package_command_generator.rb in fastlane-2.42.0 vs gym/lib/gym/generators/package_command_generator.rb in fastlane-2.43.0.beta.20170629010015
- old
+ new
@@ -5,11 +5,10 @@
# `incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityError)`
require 'shellwords'
# The concrete implementations
-require 'gym/generators/package_command_generator_legacy'
require 'gym/generators/package_command_generator_xcode7'
module Gym
class PackageCommandGenerator
class << self
@@ -45,15 +44,13 @@
def apps_path
generator.apps_path
end
# The generator we need to use for the currently used Xcode version
+ # Since we dropped Xcode 6 support, it's just this class, but maybe we'll have
+ # new classes in the future
def generator
- if Gym.config[:use_legacy_build_api]
- PackageCommandGeneratorLegacy
- else
- PackageCommandGeneratorXcode7
- end
+ PackageCommandGeneratorXcode7
end
end
end
end