A script that removes all non apple apps from the booted simulator
- Download the swift script file
- Change it to executable using command
chmod +x remove-all-apps-from-booted-simulator.swift
- Add the path of this file to the
.bash_profile
or.zshrc
file.export PATH="/your/folder/path:$PATH"
Run this command on the shell
$ remove-all-apps-from-booted-simulator.swift