reset_simulator_contents
Shutdown and reset running simulators
reset_simulator_contents | |
---|---|
Supported platforms | ios |
Author | @danramteke |
2 Examples
reset_simulator_contents
reset_simulator_contents(os_versions: ["10.3.1","12.2"])
Parameters
Key | Description | Default |
---|---|---|
ios |
DEPRECATED! Use :os_versions instead - Which OS versions of Simulators you want to reset content and settings, this does not remove/recreate the simulators |
|
os_versions |
Which OS versions of Simulators you want to reset content and settings, this does not remove/recreate the simulators |
* = default value is dependent on the user's system
Documentation
To show the documentation in your terminal, run
fastlane action reset_simulator_contents
CLI
It is recommended to add the above action into your Fastfile
, however sometimes you might want to run one-offs. To do so, you can run the following command from your terminal
fastlane run reset_simulator_contents
To pass parameters, make use of the :
symbol, for example
fastlane run reset_simulator_contents parameter1:"value1" parameter2:"value2"
It's important to note that the CLI supports primitive types like integers, floats, booleans, and strings. Arrays can be passed as a comma delimited string (e.g. param:"1,2,3"
). Hashes are not currently supported.
It is recommended to add all fastlane actions you use to your Fastfile
.
Source code
This action, just like the rest of fastlane, is fully open source, view the source code on GitHub