lib/gym.rb in gym-0.3.2 vs lib/gym.rb in gym-0.3.3

- old
+ new

@@ -6,12 +6,16 @@ require 'gym/package_command_generator' require 'gym/runner' require 'gym/error_handler' require 'gym/options' require 'gym/detect_values' -require 'gym/xcode_fix' +# Import all the fixes +require 'gym/xcodebuild_fixes/swift_fix' +require 'gym/xcodebuild_fixes/watchkit_fix' +require 'gym/xcodebuild_fixes/package_application_fix' + require 'fastlane_core' require 'terminal-table' module Gym class << self @@ -24,9 +28,13 @@ DetectValues.set_additional_default_values end def gymfile_name "Gymfile" + end + + def xcode_path + @path ||= `xcode-select --print-path`.strip end end Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore end