Skip to content

Commit 71d2777

Browse files
authored
Merge pull request #338 from salmanasiddiqui/patch-1
Fixed loading of Fastlane::Actions::VerifyBuildAction
2 parents 5a93a6c + 003363e commit 71d2777

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

lib/xcode/install.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
require 'xcode/install/version'
99
require 'shellwords'
1010
require 'open3'
11-
require 'fastlane/actions/actions_helper'
11+
require 'fastlane/action'
12+
require 'fastlane/actions/verify_build'
1213

1314
module XcodeInstall
1415
CACHE_DIR = Pathname.new("#{ENV['HOME']}/Library/Caches/XcodeInstall")
@@ -576,7 +577,7 @@ def apply_variables(template)
576577

577578
class InstalledXcode
578579
TEAM_IDENTIFIER = '59GAB85EFG'.freeze
579-
AUTHORITY = 'Apple Mac OS Application Signing'.freeze
580+
AUTHORITY = 'Software Signing'.freeze
580581

581582
attr_reader :path
582583
attr_reader :version
@@ -686,7 +687,7 @@ def verify_app_security_assessment
686687
end
687688

688689
def verify_app_cert
689-
cert_info = Fastlane::Actions::VerifyBuildAction.gather_cert_info(@path)
690+
cert_info = Fastlane::Actions::VerifyBuildAction.gather_cert_info(@path.to_s)
690691
apple_team_identifier_result = cert_info['team_identifier'] == TEAM_IDENTIFIER
691692
apple_authority_result = cert_info['authority'].include?(AUTHORITY)
692693
apple_team_identifier_result && apple_authority_result

0 commit comments

Comments
 (0)