Compétences using-xtool
📱

using-xtool

Sûr 🌐 Accès réseau⚙️ Commandes externes

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.

Prend en charge: Claude Codex Code(CC)
📊 71 Adéquat
1

Télécharger le ZIP du skill

2

Importer dans Claude

Allez dans Paramètres → Capacités → Skills → Importer un skill

3

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ûr
v3 • 1/16/2026

Pure 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.

2
Fichiers analysés
430
Lignes analysées
2
résultats
3
Total des audits

Score de qualité

38
Architecture
100
Maintenabilité
85
Contenu
31
Communauté
100
Sécurité
91
Conformité aux spécifications

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

Neues Projekt erstellen
Create a new xtool project called MyApp with SwiftPM structure
Widget-Erweiterung hinzufügen
Add a widget extension to my xtool iOS app called MyWidget
Entitlements konfigurieren
Configure HomeKit entitlements in my xtool app
Geräteprobleme debuggen
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

Foire aux questions

Ersetzt xtool Xcode?
xtool ersetzt Xcode beim Bauen von iOS-Apps, aber für bestimmte Apple-Dienste wie App-Store-Distribution brauchst du weiterhin einen Mac.
Welche SwiftPM-Funktionen werden unterstützt?
xtool unterstützt standardmäßige SwiftPM-Pakete, Produkte, Targets und Ressourcen. Die meisten Swift-Pakete kompilieren ohne Änderungen.
Kann ich Xcode zusammen mit xtool verwenden?
Ja, xtool dev generate-xcode-project erstellt ein Xcode-Projekt zum Debuggen, während xtool für Builds genutzt wird.
Sind мои Daten mit xtool sicher?
xtool ist ein lokales CLI-Tool. Es lädt deinen Code oder deine Daten nicht auf einen Server hoch. Die Authentifizierung nutzt nur deine Apple-Zugangsdaten.
Erster Build schlägt fehl oder ist langsam
Das ist beim ersten Lauf normal. xtool lädt und baut Darwin-SDK-Module. Warte auf den Abschluss, danach sind die Builds schneller.
Wie vergleicht sich xtool mit XcodeGen?
xtool nutzt SwiftPM direkt und die xtool.yml-Konfiguration. XcodeGen erzeugt Xcode-Projekte. xtool ist für plattformübergreifende iOS-Entwicklung ohne macOS ausgelegt.

Détails du développeur

Structure de fichiers

📄 SKILL.md