using-xtool
iOS-Apps ohne Xcode mit xtool erstellen
Également disponible depuis: 2389-research
Entwicklerinnen und Entwickler, die iOS-Apps unter Linux oder Windows bauen müssen, stehen vor der Herausforderung der Xcode-Abhängigkeit. xtool ermöglicht iOS-Entwicklung ohne Xcode mit SwiftPM. Dieses Skill bietet eine vollständige Anleitung für Projekteinrichtung, App-Erweiterungen und Deployment.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "using-xtool". Create a new xtool project called TaskTracker with widget extension
Résultat attendu:
- Creating TaskTracker project structure...
- 1. Package.swift - SwiftPM with library products for main app and widget
- 2. xtool.yml - Configuration with widget extension entry
- 3. Sources/TaskTracker/ - Main app files (TaskTrackerApp.swift, ContentView.swift)
- 4. Sources/TaskTrackerWidget/ - Widget extension with Widget.swift
- 5. TaskTrackerWidget-Info.plist - Widget extension configuration
- Run 'xtool dev' to build and run on simulator
Utilisation de "using-xtool". How do I add a share extension to my xtool app?
Résultat attendu:
- To add a share extension to your xtool app:
- 1. Add the extension product and target in Package.swift
- 2. Update xtool.yml with the extension configuration
- 3. Create MyShare-Info.plist with NSExtensionPointIdentifier for com.apple.share-services
- 4. Create the extension code in Sources/MyShare/
- 5. Build with 'xtool dev build'
- Extension type: com.apple.share-services
Utilisation de "using-xtool". What are common mistakes when using xtool?
Résultat attendu:
- Common xtool mistakes to avoid:
- - Using 'xtool build' instead of 'xtool dev build'
- - Using project.yml (xtool uses xtool.yml)
- - Using Extensions/ directory (use Sources/ instead)
- - Forgetting both product AND target declarations for extensions
- - Using .executable instead of .library for extension products
Audit de sécurité
SûrPure documentation skill containing only Markdown guidance for xtool development. No executable code, no file system access, no network calls, and no external command execution. All 67 static findings are FALSE POSITIVES - bash examples in code blocks are documentation, not actual shell execution. Substring matching errors caused false positives for 'DES' in 'development', 'Path' in field names, and 'key' in Apple extension identifiers.
Facteurs de risque
🌐 Accès réseau (3)
⚙️ Commandes externes (53)
Score de qualité
Ce que vous pouvez construire
iOS unter Linux oder Windows
iOS-Apps mit SwiftPM bauen, ohne macOS oder Xcode zu benötigen
Einrichtung von App-Erweiterungen
Widgets, Share-Erweiterungen und Tastatur-Erweiterungen zu bestehenden iOS-Projekten hinzufügen
CI/CD-iOS-Pipelines
Automatisierte iOS-Builds auf Linux-CI-Runnern einrichten
Essayez ces prompts
Create a new xtool project called MyApp with SwiftPM structure
Add a widget extension to my xtool iOS app called MyWidget
Configure HomeKit entitlements in my xtool app
My iOS device is not recognized by xtool devices command
Bonnes pratiques
- Für Erweiterungen .library-Produkte in Package.swift verwenden, nicht .executable
- Erweiterungen im Sources/-Verzeichnis platzieren und SwiftPM-Konventionen einhalten
- Extension-Info.plists minimal halten und nur NSExtensionPointIdentifier enthalten
Éviter
- project.yml oder Project.swift verwenden (xtool nutzt xtool.yml)
- Extensions/-Verzeichnis verwenden (stattdessen Sources/ nutzen)
- xtool build statt xtool dev build verwenden