Skip to content

kud/sim-crafter-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

17 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

TypeScript npm MIT

A CLI tool to manage iOS simulators on macOS, simplifying testing and development workflows.

Website Β· Documentation

Features

  • List simulators β€” display all local simulator devices in a table with OS version, UDID, and boot state
  • Browse remote devices β€” list all available device types from Xcode with their identifier and runtime range
  • Create simulators β€” interactively pick a device type and runtime to spin up a new simulator
  • Delete simulators β€” select and remove an existing simulator device via an interactive prompt
  • Boot on demand β€” start a simulator device ready for use without opening Xcode
  • Take screenshots β€” capture a screenshot from any running simulator straight to disk

Install

npm install -g @kud/sim-crafter-cli

Requires macOS with Xcode installed. The tool wraps xcrun simctl and expects Node.js 18 or later.

Usage

$ sim-crafter list
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Name             β”‚ OS Version β”‚ UDID                                 β”‚ State  β”‚ Available β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ iPhone 15 Pro    β”‚ iOS 17.4   β”‚ A1B2C3D4-…                           β”‚ Booted β”‚ Yes       β”‚
β”‚ iPhone SE (3rd)  β”‚ iOS 17.4   β”‚ E5F6G7H8-…                           β”‚ Shutdownβ”‚ Yes      β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

$ sim-crafter create
$ sim-crafter boot
$ sim-crafter screenshot
$ sim-crafter delete
$ sim-crafter list-remote

Development

git clone https://github.com/kud/sim-crafter-cli.git
cd sim-crafter-cli
npm install
./index.js list

πŸ“š Full documentation β†’ sim-crafter-cli/docs

About

πŸ“± Minimal simctl wrapper β€” list, create, boot and screenshot iOS simulators from your terminal

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors