ios-debugger-agent
تصحيح تطبيقات iOS على المحاكيات
يتطلب بناء واختبار تطبيقات iOS على المحاكيات التنقل بين أوامر XcodeBuild وعناصر التحكم في المحاكي وسير عمل التصحيح. توفر هذه المهارة إرشادات خطوة بخطوة لبناء وتشغيل وتصحيح تطبيقات iOS باستخدام أدوات XcodeBuildMCP.
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“ios-debugger-agent”。 Launch my app and tap the settings button
预期结果:
- Checking for a booted simulator... Found iPhone 15 booted.
- Getting app path and bundle ID for your project...
- Launching app on simulator...
- App launched successfully. Describing current UI...
- Found Settings button with id 'settingsBtn'. Tapping it now.
- Settings screen loaded. What would you like to do next?
正在使用“ios-debugger-agent”。 My app crashed during startup, help me debug
预期结果:
- Booted simulator found: iPhone 15.
- Starting log capture for your app bundle...
- Launching app...
- Captured logs show SIGABRT in main.m: Array index out of bounds.
- UI description shows blank white screen with no elements.
- Recommendation: Check your viewDidLoad method for array access on potentially nil array.
安全审计
安全All 45 static findings are FALSE POSITIVES. This skill is a pure documentation file (SKILL.md) with no executable code. The MCP tool references like `mcp__XcodeBuildMCP__screenshot` are standard Model Context Protocol tool names, not shell commands or C2 indicators. The 'weak cryptographic algorithm' and 'screen capture upload' flags triggered on benign text patterns. A previous audit correctly assessed this as 'risk_level: safe' with no risk factors.
风险因素
🌐 网络访问 (1)
⚙️ 外部命令 (25)
质量评分
你能构建什么
اختبار التطبيقات أثناء التطوير
بناء واختبار تطبيقات iOS على المحاكيات دون الحاجة إلى أجهزة فعلية
إجراء اختبار واجهة المستخدم الآلي
التفاعل مع واجهة المستخدم للتطبيق برمجياً والتقاط السجلات للتحقق من الاختبار
أتمتة التحقق من بناء iOS
دمج بناء المحاكي في خطوط CI/CD للاختبار الآلي
试试这些提示
Build and run my iOS app on the simulator. Check if a simulator is booted first.
Describe the current UI, then tap the login button and type test credentials into the username field.
Start logging for my app, launch it, and capture console output for 30 seconds showing any errors.
My app crashes on launch. Check the logs, describe the UI state, and help diagnose what is causing the crash.
最佳实践
- التحقق من تشغيل المحاكي قبل محاولة أي عمليات بناء أو تشغيل
- تعيين الإعدادات الافتراضية للجلسة مع مسار المشروع والمخطط ومعرف المحاكي لعمليات متسقة
- التقاط السجلات قبل وبعد إعادة إنتاج المشكلات لتتبع الأسباب الجذرية
避免
- تخطي فحص المحاكي المشغّل ومحاولة العمليات بشكل عشوائي
- استخدام الإحداثيات للنقر بدلاً من معرفات العناصر أو التسميات عند توفرها
- تجاهل مخرجات السجل بعد البناء أو تشغيل التطبيق
常见问题
ما هي المنصات التي تدعمها هذه المهارة؟
هل يمكنني تصحيح أجهزة iOS الفعلية؟
كيف أقوم بتكوين XcodeBuildMCP؟
هل بياناتي آمنة عند التقاط السجلات؟
لماذا لا يتم تشغيل تطبيقي؟
كيف يختلف هذا عن مصحح Xcode؟
开发者详情
文件结构
📄 SKILL.md