Module: SimCtl::Command::Keychain
- Included in:
- SimCtl::Command
- Defined in:
- lib/simctl/command/keychain.rb
Instance Method Summary collapse
-
#keychain_reset(device) ⇒ void
Reset the keychain.
Instance Method Details
#keychain_reset(device) ⇒ void
This method returns an undefined value.
Reset the keychain
10 11 12 13 14 15 |
# File 'lib/simctl/command/keychain.rb', line 10 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 |