Prerequisites
Before starting, ensure you have:- macOS 14+ (Sonoma or newer)
- Xcode 15+ (latest recommended)
- Git installed
No backend setup required for initial run! The app includes mock backends for immediate development.
Step 1: Clone the Repository
Step 2: Open in Xcode
The project uses Swift Package Manager. Xcode will automatically resolve dependencies on first open (takes ~30 seconds).
Step 3: Configure Environment
Copy the example configuration file:For immediate testing, you can leave the default values! The app will use:
MockAuthClient(no Supabase needed)EchoLLMClient(echoes messages back)- No payment functionality
Step 4: Build and Run
Press ⌘ + R in Xcode or:What You’ll See
On first run, the app will:- Show onboarding - 3 swipeable pages
- Display sign-in - Use any email/password (mock auth)
- Home screen - Feature cards and quick actions
- Chat works! - Send messages, get echo responses
- Settings screen - Explore different themes
If you see the home screen, you’re all set! The app is running with mock backends.
Project Structure
Mock vs Production Mode
Mock Mode (Default)
Perfect for:- ✅ Rapid initial development
- ✅ UI testing without setup
- ✅ Exploring the codebase
- ✅ Avoiding API or subscription costs
- Authentication (any email works)
- AI responses (echoed locally)
- Payments (simulated states)
Production Mode
When you’re ready to go live, switching to Production Mode is seamless. This boilerplate is designed so you can move from mock data to real users and APIs in just a few setup steps, all clearly documented. Required when you need:- Real user authentication (via Supabase)
- Actual AI responses
- Working subscriptions and payments
To complete the backend setup see Quick Start or Setup Guides.
Verify Installation
1
App Builds
No build errors in Xcode
2
Tests Pass
Run tests with ⌘ + U - all should pass
3
UI Works
Navigate through onboarding → sign in → home → chat
Common Issues
Dependencies Won’t Resolve
Solution:Missing Config File
Error:Config/Secrets.xcconfig not found
Solution:
Build Errors
Solution:Next Steps
Quick Start
Get to your first running app
Architecture
Understand the system design
Build Your App
Complete customization guide
Setup Backends
Connect real services
Development Tips
Using AI assistants? Check out CLAUDE.md for guidelines on AI-assisted development.
Want to customize immediately? Read the Building Your App guide which includes ready-to-use LLM prompts for common tasks.
