Module: SimCtl::Command::Privacy
- Included in:
- SimCtl::Command
- Defined in:
- lib/simctl/command/privacy.rb
Instance Method Summary collapse
-
#privacy(device, action, service, bundle) ⇒ void
Change privacy settings.
Instance Method Details
#privacy(device, action, service, bundle) ⇒ void
This method returns an undefined value.
Change privacy settings
13 14 15 16 17 18 |
# File 'lib/simctl/command/privacy.rb', line 13 def privacy(device, action, service, bundle) unless Xcode::Version.gte? '11.4' raise UnsupportedCommandError, 'Needs at least Xcode 11.4' end Executor.execute(command_for('privacy', device.udid, action, service, bundle)) end |