Skip to content

Commit 0edd4a0

Browse files
authored
Remove xcode-install dependendy from fastlane (#7554)
1 parent a5c5e7e commit 0edd4a0

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

fastlane.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ Gem::Specification.new do |spec|
3434
spec.add_dependency 'plist', '>= 3.1.0', '< 4.0.0' # Needed for set_build_number_repository and get_info_plist_value actions
3535
spec.add_dependency 'addressable', '>= 2.3', '< 3.0.0' # Support for URI templates
3636
spec.add_dependency 'multipart-post', '~> 2.0.0' # Needed for uploading builds to appetize
37-
spec.add_dependency 'xcode-install', '~> 2.0.0' # Needed for xcversion and xcode_install actions
3837
spec.add_dependency 'word_wrap', '~> 1.0.0' # to add line breaks for tables with long strings
3938

4039
spec.add_dependency 'babosa', '>= 1.0.2', "< 2.0.0"

fastlane/lib/fastlane/actions/xcode_install.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ module SharedValues
66

77
class XcodeInstallAction < Action
88
def self.run(params)
9+
Actions.verify_gem!('xcode-install')
10+
911
ENV["XCODE_INSTALL_USER"] = params[:username]
1012
ENV["XCODE_INSTALL_TEAM_ID"] = params[:team_id]
1113

fastlane/lib/fastlane/actions/xcversion.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ module Fastlane
22
module Actions
33
class XcversionAction < Action
44
def self.run(params)
5+
Actions.verify_gem!('xcode-install')
6+
57
version = params[:version]
68
xcode = Helper::XcversionHelper.find_xcode(version)
79
UI.user_error!("Cannot find an installed Xcode satisfying '#{version}'") if xcode.nil?

0 commit comments

Comments
 (0)