📄 IOS Simulator
A custom written CLI for easy to use commands based on the
existing xcrun
commands.
A package by Fooxly.
🚀 Recent Changes
- List all the simulators
- Transfer files to the simulator
- open an app or website via a deeplink/url
☁️ Installation
using npm
npm install -g @fooxly/ios-simulator
using yarn
yarn global add @fooxly/ios-simulator
📕 Commands
Listing the devices
sim list
This command lists all the simulators you have installed.
Boot a simulator
sim boot <device name>
or
sim launch <device name>
or
sim start <device name>
or
sim <device name>
These commands let you start the simulator of your choice.
The device name for the simulator is the name visible inside of the sim list
command. for example
sim boot "iPhone 11 Pro"
Open an url or deeplink
sim open <url>
Opes a link inside of your simulator.
Upload a file
sim upload [<paths>]
Upload 1 or multiple files based on the given paths. You can upload as many files as you would like, just add the paths to the end of the command.
clean up unused devices
sim remove-unused
or
sim clean-up
This removes all the unused sims and sims that are not available.
📋 To-do
- boot via the device udid
- remove a device
-
shutdown
the active simulator -
predict
the action if the second parameter is not a function. (url can be opened, udid or name can launch)
❤️ Support our projects
You can support us by donating through BuyMeACoffee or PayPal.