swiftui-empty-app-init
بواسطة ignaciocervino
iOS & macOS Developmentموجز
Initialize a minimal SwiftUI iOS app.
الوصف
ما الذي تفعله هذه المهارة
Initializes a minimal SwiftUI iOS app in the current directory using XcodeGen to produce a single `.xcodeproj`. No workspaces, Swift packages, or test targets are added unless explicitly requested. The result is a bare-bones project ready for feature development.
Using XcodeGen to generate the project file avoids hand-authoring `project.pbxproj`, which reduces merge conflicts and keeps the project definition readable.
متى تستخدمها
- Starting a new iOS app prototype from scratch
- Setting up a clean SwiftUI project for a client demo
- Bootstrapping a personal app without boilerplate overhead
- Creating a minimal iOS target for UI experimentation
- Resetting a project structure to a known clean state
مثال على سير العمل
User asks: Initialize a SwiftUI app called 'TaskTracker' with iOS 17 deployment target
- 1
Collect project name 'TaskTracker' and deployment target iOS 17
- 2
Apply default bundle identifier com.example.TaskTracker
- 3
Generate a minimal project.yml with a single app target using SwiftUI @main lifecycle
- 4
Run XcodeGen to produce TaskTracker.xcodeproj
- 5
Confirm the .xcodeproj and default scheme exist
TaskTracker.xcodeproj generated in the current directory with a single app target, ContentView placeholder, and minimal Info.plist
المتطلبات
- Xcode installed and selected via xcode-select
- XcodeGen installed and available on PATH
التثبيت
clawhub install ignaciocervino/swiftui-empty-app-initشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.