โจ Why Choose Us?
| Traditional Way | Using Our Tool |
|---|---|
| โ Manual button clicking | โ One command does it all |
| โ Repetitive waste of time | โ Automated batch processing |
| โ Complex API learning curve | โ Simple CLI, ready to use |
| โ Hard to integrate with CI/CD | โ Perfect automation support |
๐ฏ Key Features
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
โ ๐ฑ Device Management ๐งช Test Analysis ๐ง Build Tools โ
โ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โ
โ โ sim list โ โ sim audit โ โ sim build โ โ
โ โ sim boot โ โ sim diff โ โ sim test โ โ
โ โ sim createโ โ sim log โ โ โ โ
โ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โ
โ โ
โ ๐จ Screen Interaction ๐ Privacy Manager ๐ State Capture โ
โ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โ
โ โ sim tap โ โsim privacyโ โ sim state โ โ
โ โ sim swipe โ โsim push โ โ sim tree โ โ
โ โ sim text โ โsim clipboard โ sim map โ โ
โ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฅ Unique Advantages
- ๐ค AI-Native Design - Built specifically for AI Agent automation
- โก Quick Setup - Install and configure in 5 minutes
- ๐ Full Automation - Complete iOS simulator lifecycle coverage
- ๐ช Accessibility-First - Stable and reliable based on Accessibility API
- ๐ฆ Ready to Use - No complex config, production-ready out of the box
๐๏ธ Architecture
graph TB
subgraph User Layer
CLI[CLI Commands]
AI[AI Agent]
CI[CI/CD Pipeline]
end
subgraph Core Engine
XCMD[xcrun/simctl]
IDB[idb-companion]
AX[Accessibility API]
end
subgraph Functional Modules
DM[Device Management]
AM[App Management]
SI[Screen Interaction]
TA[Test Analysis]
PM[Privacy Management]
end
subgraph Target Device
SIM[iOS Simulator]
APP[App Under Test]
end
CLI --> DM
AI --> DM
CI --> DM
DM --> XCMD
AM --> XCMD
SI --> IDB
TA --> AX
XCMD --> SIM
IDB --> SIM
AX --> APP
SIM --> APP
๐ฆ Installation
# 1๏ธโฃ Install idb-companion (required)
brew install idb-companion
# 2๏ธโฃ Install opencode-ios-simulator
pip install --upgrade opencode-ios-simulator
# 3๏ธโฃ Verify installation
sim check
๐ Quick Start
# Check environment โ
sim check
# Boot simulator ๐ฑ
sim boot "iPhone 17 Pro"
# Install app ๐ฆ
sim install app.ipa
# Launch app โถ๏ธ
sim launch com.example.myapp
# Map screen elements ๐บ๏ธ
sim map
# Tap button ๐
sim tap --text "Confirm"
# Input text โ๏ธ
sim text "hello world"
# Swipe ๐
sim swipe up
# Shutdown simulator โน๏ธ
sim shutdown
๐ธ Demo
Screen Mapping
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๐ฑ iPhone 17 Pro - Home Screen โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ๏ธ Settings [โฃ] โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ ๐ Search Settings... โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค โ
โ โ ๐ค Apple ID โ โ
โ โ ๐ถ Wi-Fi โ โ
โ โ ๐ Notifications โ โ
โ โ ๐ Sounds & Haptics โ โ
โ โ ๐ Display & Brightness โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Environment Check
โ macOS 26.2 - OK
โ Xcode 18.3 - Installed
โ simctl - Available
โ idb-companion - Connected
โ Python 3.12 - Ready
๐ Environment ready!
๐ Command Reference
| Category | Command | Description |
|---|---|---|
| ๐ฐ Basics | sim check |
Check environment |
| ๐ฑ Device | sim list |
List simulators |
| ๐ฑ Device | sim boot |
Boot simulator |
| ๐ฑ Device | sim shutdown |
Shutdown simulator |
| ๐ฆ App | sim install |
Install app |
| ๐ฆ App | sim launch |
Launch app |
| ๐ Interaction | sim tap |
Tap element |
| ๐ Interaction | sim swipe |
Swipe screen |
| ๐ Interaction | sim text |
Input text |
| ๐งช Testing | sim audit |
Accessibility audit |
| ๐งช Testing | sim diff |
Visual diff |
| ๐ Privacy | sim privacy |
Privacy settings |
๐ Full Command List
Device Lifecycle (6)
| Command | Description | Example |
|---|---|---|
sim list |
List simulators | sim list --state booted |
sim boot |
Boot simulator | sim boot "iPhone 17 Pro" |
sim shutdown |
Shutdown simulator | sim shutdown |
sim create |
Create simulator | sim create "iPhone 17 Pro" --ios 26.3 |
sim delete |
Delete simulator | sim delete --udid XXX --force |
sim erase |
Erase simulator | sim erase |
App Management (4)
| Command | Description | Example |
|---|---|---|
sim launch |
Launch app | sim launch com.apple.Preferences |
sim terminate |
Terminate app | sim terminate com.apple.Preferences |
sim install |
Install app | sim install app.ipa |
sim uninstall |
Uninstall app | sim uninstall com.app |
Navigation & Interaction (5)
| Command | Description | Example |
|---|---|---|
sim map |
Map screen elements | sim map |
sim tree |
Accessibility tree | sim tree |
sim tap |
Tap element | sim tap --text "General" |
sim text |
Input text | sim text "hello" |
sim swipe |
Swipe | sim swipe up |
Advanced Interaction (2)
| Command | Description | Example |
|---|---|---|
sim key |
Press key | sim key return |
sim button |
Hardware button | sim button home |
Testing & Analysis (4)
| Command | Description | Example |
|---|---|---|
sim audit |
Accessibility audit | sim audit |
sim diff |
Visual diff | sim diff base.png curr.png |
sim log |
Log monitoring | sim log --app com.app |
sim state |
State capture | sim state |
Privacy & Settings (4)
| Command | Description | Example |
|---|---|---|
sim privacy |
Privacy settings | sim privacy --grant camera --bundle-id com.app |
sim push |
Push notification | sim push --title "Hi" --body "Hello" |
sim clipboard |
Clipboard | sim clipboard "text" |
sim statusbar |
Status bar | sim statusbar --get |
Build (2)
| Command | Description | Example |
|---|---|---|
sim build |
Build project | sim build --project App.xcodeproj |
sim test |
Run tests | sim test --project App.xcodeproj |
Info (2)
| Command | Description | Example |
|---|---|---|
sim check |
Environment check | sim check |
sim booted |
Booted devices | sim booted |
๐ง JSON Output
All commands support --json:
sim list --json
# {"simulators": [...], "count": 11}
sim check --json
# {"ready": true, "checks": {...}}
๐ฆ Dependencies
- macOS + Xcode
- idb-companion (
brew install idb-companion) - Python 3.10+
- Pillow (for visual diff)
๐ค Contributors
BOMBFUOCK - Founder & Main Maintainer
๐ License
MIT License - See LICENSE for details
๐ Acknowledgements
- Apple - Xcode & Simulator
- OpenCode - AI Coding Assistant
- idb-companion - iOS Automation Infrastructure
Metadata
Release files for opencode-ios-simulator 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opencode_ios_simulator-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for opencode_ios_simulator-1.0.0-py3-none-any.whl |
Release files / opencode_ios_simulator-1.0.0-py3-none-any.whl
| Download URL | opencode_ios_simulator-1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ab4cd0e2de6c99c95258dfaa0ea88dd1640282b3746d98b1314216d7f0bce91
|
|
BLAKE2b-256 checksum How to use checksums |
dee1377639bab2bc19aa829078a4760d19f422977f2f24a5bc79dc16352b47fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Security for opencode-ios-simulator 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.