Xcode Build Analyzer

Installation
SKILL.md

Xcode Build Analyzer

Instructions

Systematically analyze and fix Xcode build errors:

  1. Get error summary:

    xcodebuild -project Leavn.xcodeproj -scheme Leavn -destination 'platform=iOS Simulator,name=LeavnTest' build 2>&1 | grep "error:" | cut -d: -f4- | sort -u
    
  2. Categorize by type:

    • Import issues: Missing SwiftData, UIKit, etc.
    • Type mismatches: Wrong return types, protocol conformances
    • Actor isolation: @MainActor property access from nonisolated
    • Property wrappers: @ObservedObject on @Observable types
    • Missing types: Deleted files still referenced
    • Binding issues: $var on non-@Bindable types
Related skills
Installs
GitHub Stars
10
First Seen