simulator-utils
iOS Simulator utility commands for screenshots, resizing, and common operations. Use these commands when taking simulator screenshots, resizing images for API compatibility, or performing common simulator operations.
By prisma-labs-dev · 379 installs
npx skills add prisma-labs-dev/apple-skills --skill simulator-utils
Source repository · Upstream listing
Simulator Utilities
Quick reference for iOS Simulator commands. Use these patterns whenever working with simulators.
Screenshot with Auto Resize (REQUIRED)
ALWAYS use this pattern when taking screenshots to avoid API errors:
Why Resize?
iPhone 17 simulator screenshots exceed 2000px
Claude API rejects images 2000px in multi image requests
sips resampleHeightWidthMax 1800 keeps images under limit
Resize Existing Screenshots
Common Simulator Commands
Device Management
App Operations
Screenshots
Video Recording
Build Commands
Full Test Workflow
Complete pattern for build, install, launch, screenshot:
Image Manipulation with sips
sips (Scriptable Image Processing System) is macOS built in:
Troubleshooting
"No devices are booted"
Screenshot too large for API
App won't launch
Simulator stuck