Hi all, I'm trying out Supabase for a MacOS app. Using version 2.5.1 (https://github.com/supabase/supabase-swift) and attempting to connect top my db, the app crashes immediately here:
Here is my init :
let supabaseURL = "aws-0-us-east-1.pooler.supabase.com" let supabaseKey = "sb_publishable_KEY" client = SupabaseClient( supabaseURL: URL(string: supabaseURL)!, supabaseKey: supabaseKey, options: .init(storage: .init()) )
let supabaseURL = "aws-0-us-east-1.pooler.supabase.com" let supabaseKey = "sb_publishable_KEY" client = SupabaseClient( supabaseURL: URL(string: supabaseURL)!, supabaseKey: supabaseKey, options: .init(storage: .init()) )
let defaultStorageKey = "sb-\(supabaseURL.host!.split(separator: ".")[0])-auth-token"
let defaultStorageKey = "sb-\(supabaseURL.host!.split(separator: ".")[0])-auth-token"
Task 58: Fatal error: Unexpectedly found nil while unwrapping an Optional value
Task 58: Fatal error: Unexpectedly found nil while unwrapping an Optional value
A Swift SDK for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse Swift examples, invoke postgres functions via rpc, invoke supabase edge funct...
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.