-
Install Dependencies
- Make sure you have the latest version of Xcode installed
- Install Swift Package Manager dependencies
-
API Keys Setup
- Create a new file
Config.xcconfigin theSwitchUpdirectory - Add your API keys following this format:
// Config.xcconfig OPENAI_API_KEY = your_api_key_here - Important: Never commit this file to version control. It's already added to .gitignore
- Create a new file
-
Build and Run
- Open the project in Xcode
- Build and run the app
- The
Config.xcconfigfile is included in.gitignoreto prevent accidental commits of API keys - Always use environment variables or secure storage for production API keys
- Consider using a secrets management service for production deployments