A SwiftUI-based Bible trivia application with Supabase backend.
- Xcode 15.0+
- iOS 16.0+
- Supabase account
This app requires a configuration file with your Supabase credentials.
-
Create the config file:
- Right-click in Xcode on your project
- Choose "New File" → "Property List"
- Name it
Config.plist - Make sure it's added to your app target
-
Add your Supabase credentials:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SUPABASE_URL</key> <string>https://your-project-id.supabase.co</string> <key>SUPABASE_API_KEY</key> <string>your_supabase_anon_public_key</string> </dict> </plist>
-
The app will automatically read from this file
Add these keys directly to your Info.plist:
<key>SUPABASE_URL</key>
<string>https://your-project-id.supabase.co</string>
<key>SUPABASE_API_KEY</key>
<string>your_supabase_anon_public_key</string>- Go to your Supabase Dashboard
- Select your project
- Go to Settings → API
- Copy your Project URL and anon public key
- Clone the repository
- Open
BibleTrivia.xcodeprojin Xcode - Create your configuration file as described above
- Build and run
- User authentication
- Bible trivia quizzes
- Progress tracking
- Streak system
- Multiple difficulty levels
- MVVM Pattern with SwiftUI
- Supabase for backend services
- Router Pattern for navigation
- Observable classes for state management
.gitignore is configured to prevent this, but always double-check before committing.
For production apps, consider using:
- Xcode build configurations
- Environment-specific config files
- Server-side configuration management