تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

ios-simulator

بواسطة tristanmanchester

iOS & macOS Development
3.0kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Automate iOS Simulator workflows (simctl + idb)

الوصف

ما الذي تفعله هذه المهارة

A Node.js CLI wrapper around xcrun simctl and idb for iOS Simulator automation. Handles device lifecycle (create, boot, erase), app install and launch, accessibility-based UI interaction, push notifications, screenshots, and privacy grants. Runs on macOS only.

Combines simctl device management and idb accessibility-tree UI automation in a single structured CLI built for AI agents, removing the need to manually coordinate between multiple tools.

متى تستخدمها

  • Installing and launching an .app build on a simulator during development
  • Capturing screenshots automatically for App Store submission prep
  • Sending test push notifications to a running simulator
  • Granting location or camera permissions programmatically before UI tests
  • Tapping UI elements by accessibility label in a CI pipeline

مثال على سير العمل

الإدخال

User asks: install and test my iOS app in the simulator

الوكيل
  1. 1

    Run health check to confirm xcrun and idb are available

  2. 2

    List simulators and select a target device with boot flag

  3. 3

    Install the .app bundle on the booted simulator

  4. 4

    Launch the app by bundle ID

  5. 5

    Capture a screenshot and save it to artifacts/screen.png

الإخراج

App running in simulator with screenshot saved to artifacts/screen.png

المتطلبات

  • Xcode or Xcode Command Line Tools installed on macOS
  • idb_companion Homebrew formula via facebook/fb tap (required for UI automation)
  • fb-idb Python package via pip (required for UI automation)

التثبيت

clawhub install tristanmanchester/ios-simulator

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط