Installation
Repo layout
Section titled “Repo layout”ios/ SwiftUI app (shared for both paths)backend/ Cloudflare Workers backend (Path B)scripts/ Utility scripts (greenlight scan, etc.)docs-site/ This documentation siteiOS app
Section titled “iOS app”Generate the project (XcodeGen)
Section titled “Generate the project (XcodeGen)”LaunchSwift uses XcodeGen so the project stays machine-generated + agent-friendly.
brew install xcodegenxcodegen generate --spec ios/project.ymlBuild from CLI (optional)
Section titled “Build from CLI (optional)”xcodebuild \ -project ios/SwiftLaunch.xcodeproj \ -scheme SwiftLaunch \ -sdk iphonesimulator \ -destination 'platform=iOS Simulator,name=iPhone 17 Pro' \ CODE_SIGNING_ALLOWED=NO \ buildBackend (Path B)
Section titled “Backend (Path B)”cd backendnpm installnpm run typechecknpm testnpm run devYou’ll need a wrangler.toml with D1/KV bindings and secrets (wrangler secret put ...) for real auth + AI proxy calls.