From f361517a92f04da441570e842d7239ce19bb8578 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 22 Apr 2023 23:22:38 -0400 Subject: [PATCH] Fix crash on first launch after updating from build 77 --- Tusker/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/AppDelegate.swift b/Tusker/AppDelegate.swift index b1340c4f..89545f68 100644 --- a/Tusker/AppDelegate.swift +++ b/Tusker/AppDelegate.swift @@ -111,7 +111,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { if let clazz = NSClassFromString("SentryInstallation"), let objClazz = clazz as AnyObject as? NSObjectProtocol, objClazz.responds(to: Selector(("id"))), - let id = objClazz.perform(Selector(("id"))).takeRetainedValue() as? String { + let id = objClazz.perform(Selector(("id"))).takeUnretainedValue() as? String { logger.info("Initialized Sentry with installation/user ID: \(id)") } }