xcode build analyzer
3
总安装量
0
周安装量
#54888
全站排名
安装命令
npx skills add https://github.com/willsigmon/sigstack --skill 'Xcode Build Analyzer'
Skill 文档
Xcode Build Analyzer
Instructions
Systematically analyze and fix Xcode build errors:
-
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 -
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
-
Identify cascade errors:
- One missing type â 50 errors
- One @Observable migration â 10 binding errors
- Find the root cause, fix once
-
Priority fix order:
- Missing imports (unlock many files)
- Missing types (cascade fixes)
- Property wrappers (mechanical fixes)
- Actor isolation (add nonisolated)
- Complex type inference (last)
-
Quick wins:
- Count errors between fixes
- Commit when 50%+ reduction achieved
- Disable broken code temporarily if needed
Use this skill when: Build fails with many errors, refactoring breaks build, need systematic error fixing