Skip to content
Back to skills

Ios Simulator

ASecurity

Build and run iOS app on simulator. Use when user asks to run on simulator, test on simulator, or debug iOS app locally. Handles building, deploying, and log streaming.

  • 666 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added February 9, 2026
toolsshellbashdebugging

Works with

  • terminal

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill ios-simulator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ios Simulator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ios Simulator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-ios-simulator/badge)](https://www.skillsdirectory.com/skills/majiayu000-ios-simulator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ios-simulator
description: Build and run iOS app on simulator. Use when user asks to run on simulator, test on simulator, or debug iOS app locally. Handles building, deploying, and log streaming.
allowed-tools: Bash(cd:*), Bash(./scripts/*), Bash(xcrun:*), Bash(xcodebuild:*), Bash(pkill:*), Bash(rm:*)
---

# iOS Simulator Deployment & Debugging

**This is an action skill. Run commands, don't just explain them.**

## Quick Commands

**Build and run on simulator:**
```bash
cd apps/ios && ./scripts/run.sh
```

This script:
1. Builds the app (always rebuilds to pick up code changes)
2. Boots iPhone 17 Pro simulator
3. Installs and launches the app

## Debugging / Log Streaming

**Important:** `print()` does NOT show in Console.app. Use `NSLog()` or `os_log` instead.

**Stream app logs in terminal:**
```bash
xcrun simctl spawn booted log stream --predicate 'eventMessage CONTAINS "[YourTag]"' --level debug
```

**Stream all app logs:**
```bash
xcrun simctl spawn booted log stream --predicate 'subsystem == "com.bytespell.shella"' --level debug
```

**Check if app is running:**
```bash
xcrun simctl spawn booted launchctl list | grep shella
```

## Clean Build

If you suspect stale code is being used:
```bash
cd apps/ios && rm -rf .build && ./scripts/run.sh
```

## Troubleshooting

**App doesn't reflect code changes:**
- The `run.sh` script now always rebuilds, but if issues persist, do a clean build (see above)

**Logs not appearing:**
- `print()` statements don't show in Console.app - use `NSLog("message")` or `os_log`
- Make sure Console.app is filtering by "Simulator" in the sidebar
- Enable "Include Info Messages" and "Include Debug Messages" in Console.app's Action menu

**Simulator won't boot:**
```bash
xcrun simctl shutdown all
xcrun simctl boot "iPhone 17 Pro"
```

**Kill and restart app:**
```bash
xcrun simctl terminate booted com.bytespell.shella
xcrun simctl launch booted com.bytespell.shella
```

## Typical Flow

User: "run on simulator" / "test this on iOS" / "build and run"

1. Run the build+deploy script:
```bash
cd apps/ios && ./scripts/run.sh
```

2. If user needs logs, start streaming:
```bash
xcrun simctl spawn booted log stream --predicate 'eventMessage CONTAINS "[SomeTag]"' --level debug
```

3. For debugging, remind user that `print()` won't show - they need `NSLog()`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.