A repository to share our open-source iOS research app that 1) collects Apple Health data through Apple Healthkit, 2) deploys EMA style surveys, and 3) allows for user media uploads to Supabase for secure data storage.
This app requires Supabase credentials to be configured. For security, these are stored in a Config.plist file that is not committed to git.
Initial Setup:
- Copy
Inoxity/Config.example.plisttoInoxity/Config.plist - Open
Inoxity/Config.plistand replace the placeholder values:SupabaseURL: Your Supabase project URLSupabaseAnonKey: Your Supabase anonymous/public key
- Add
Config.plistto your Xcode project:- In Xcode, right-click on the
Inoxityfolder - Select "Add Files to Inoxity..."
- Select
Config.plist - Make sure "Copy items if needed" is unchecked (file is already in the folder)
- Make sure "Add to targets: Inoxity" is checked
- Click "Add"
- In Xcode, right-click on the
Important:
Config.plistis gitignored and should never be committedConfig.example.plistis a template and is safe to commit- If you need to rotate your Supabase keys, update
Config.plistwith the new values