Skip to content

Commit

Permalink
Fix some WWDR certificates test failure
Browse files Browse the repository at this point in the history
This was caused by the fact that that test calls a method that uses `$?`
(https://stackoverflow.com/a/6834572/865175), which, somehow, (I think)
was executed right after a call to XcodesHelper's
`find_xcodes_binary_path` method. This latter one returned a non-zero
code, because `xcodes` can't be installed on Ubuntu, which got picked up
by the certificates return code check, so it treated its actual command
as failed.
  • Loading branch information
revolter committed Nov 2, 2022
1 parent d2fed94 commit fad9d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/helper/xcodes_helper.rb
Expand Up @@ -12,7 +12,7 @@ def self.read_xcode_version_file
end

def self.find_xcodes_binary_path
`which xcodes`.strip
Actions.sh("which xcodes", log: false).strip
end

module Verify
Expand Down

0 comments on commit fad9d58

Please sign in to comment.