Stack:
Swift / iOS
Swift / iOS preset
A reasoning guide the onboard flow uses for Swift and iOS projects. It is a checklist, not a template — detected reality wins.
Signals
- An
*.xcodeproj/*.xcworkspace, plusSources/or an app target with Swift files. - Dependency manager:
Package.swift(SwiftPM),Podfile/Podfile.lock(CocoaPods), orCartfile(Carthage). - UI layer: SwiftUI (
View,@State,body) or UIKit (UIViewController, storyboards/XIBs).
What to reason about
- The real test (
xcodebuild testorswift test), lint (swiftlint/swift-format), and build (xcodebuild/swift build) commands — captured verbatim. - Whether the UI is SwiftUI or UIKit, and the project/workspace and scheme to target.
- The dependency manager in use; it changes setup and the build invocation.
Notes
Detect SwiftUI vs UIKit and SwiftPM vs CocoaPods early; both decide the build and test invocation.