← ClaudeAtlas

swift-developmentlisted

Comprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.
aiskillstore/marketplace · ★ 329 · Data & Documents · score 79
Install: claude install-skill aiskillstore/marketplace
# Swift Development ## Prerequisites - macOS with Xcode 15+ installed (Xcode 16+ for Swift 6) - Xcode Command Line Tools: `xcode-select --install` - Verify: `xcodebuild -version` and `swift --version` ## Quick Start ### New Swift Package ```bash # Use the included script for full setup ./scripts/new_package.sh MyLibrary --type library --ios --macos # Or manually swift package init --type library --name MyLibrary ``` ### Build and Test ```bash # SPM packages swift build swift test # Xcode projects xcodebuild -workspace App.xcworkspace -scheme App \ -destination 'platform=iOS Simulator,name=iPhone 15' build # Use included script for common options ./scripts/run_tests.sh --parallel --coverage ``` ### Format and Lint ```bash # Use included script ./scripts/format_and_lint.sh Sources/ # Check mode (CI) ./scripts/format_and_lint.sh --check ``` ### Simulator Management ```bash # Use included script ./scripts/simulator.sh list ./scripts/simulator.sh boot "iPhone 15" ./scripts/simulator.sh screenshot ./scripts/simulator.sh dark ``` --- ## Core Workflows ### Building iOS Apps ```bash # Debug build for simulator xcodebuild -workspace App.xcworkspace -scheme App \ -destination 'platform=iOS Simulator,name=iPhone 15' \ build # Release archive xcodebuild archive \ -workspace App.xcworkspace -scheme App \ -archivePath ./build/App.xcarchive \ -configuration Release # Export IPA (use templates from assets/ExportOptions/) xcodebuild -exportArchive \