rescomputer / res-ios

Res is real computer speech, talk with an AI that listens and can hold a conversation with you.
https://res.computer
38 stars 1 forks source link

Boilerplate to handle different environments (one for now) #46

Closed mikejonas closed 3 months ago

mikejonas commented 3 months ago

We need configuration variables that don't get committed to the repo. Certain Keys and urls, even if they're ok to be in the bundle, are best not to check in.

So the pattern is to have a config.template.xcconfig that can be duplicated into a gitignored config.xcconfig. In the future we can have seperate development and release config files.

The config.xcconfig file is set to be used in the projects configurations (Project > Info > Configurations)

It's not useful yet, but in the next PR i'll add Authentication, so we'll need it for the api url and anon keys