Sha256: fda2642e703a03e7e1d1082d088a5b60e21a336e16ada686dd3502fb2f094d38

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

require 'ostruct'

module SimCtl
  class Command
    module Keychain
      # Reset the keychain
      #
      # @param device [SimCtl::Device] the device
      # @return [void]
      def keychain_reset(device)
        unless Xcode::Version.gte? '11.4'
          raise UnsupportedCommandError, 'Needs at least Xcode 11.4'
        end
        Executor.execute(command_for('keychain', device.udid, 'reset'))
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simctl-1.6.10 lib/simctl/command/keychain.rb