ios-simulator

Automate iOS Simulator device management and app testing via xcrun simctl.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/onymchat/onym-ios --skill ios-simulator-onymchat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ios-simulator
Source: https://github.com/onymchat/onym-ios/tree/main/.claude/skills/ios-simulator
Command: npx skills add https://github.com/onymchat/onym-ios --skill ios-simulator-onymchat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates iOS Simulator device management and app testing from the command line.

Core Features & Use Cases

  • Device lifecycle management: create, boot, erase, delete, and manage runtimes.
  • App install/launch, container paths, and debugging aids (logs, screenshots, video).
  • Testing workflows: push simulation, location, privacy, deep links, and status bar overrides.
  • Reference and guidance: compile-time simulator detection and troubleshooting.

Quick Start

Install Xcode, ensure simctl is available, boot a simulator, and install your app to begin automated testing.

Frequently Asked Questions about ios-simulator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate iOS simulator device management from the command line?

Automating iOS simulator device management from the command line is done using xcrun simctl commands to create, boot, erase, and delete simulator devices, as well as manage runtimes for automated testing workflows.

Can I simulate push notifications and location on an iOS simulator?

Yes, you can simulate push notifications and location on an iOS simulator via command line execution. The automation relies on xcrun simctl commands to inject these testing workflows directly into the booted device environment.

How do I capture screenshots and stream logs from an iOS simulator?

Capturing screenshots and streaming logs from an iOS simulator requires using xcrun simctl CLI commands. These commands facilitate app debugging by extracting visual and system-level runtime data directly from the targeted simulator device.

Does this CLI approach support simulating privacy permissions and deep links?

Yes, this CLI approach supports simulating privacy permissions and deep links. Using xcrun simctl commands, you can automate app testing workflows by overriding privacy settings and triggering deep links within the iOS simulator environment.

How can I detect if my app is running in an iOS simulator at compile time?

Detecting an iOS simulator at compile time is achieved using the Swift compiler directive #if targetEnvironment(simulator). This allows you to conditionally compile specific code paths for testing within the simulator environment.