Post

Replies

Boosts

Views

Activity

Reply to LocalAuthentication like Face ID crashes using swift 6 iOS 18.1
@DTS Engineer Hello Quinn thanks for answering, yes changing the method using async works. i will leave the method that works for me func authenticate() async { let context = LAContext() var error: NSError? if context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) { let reason = "We need to verify your identity" do { let success = try await context.evaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, localizedReason: reason) await MainActor.run { self.isAuthenticated = success } } catch { print(error.localizedDescription) } } else { print("Biometrics not available: \(error?.localizedDescription ?? "Unknown error")") } } also i filled the bug before your answering, this is the bug number for the record. Dec 11, 2024 at 9:48 AM – FB16082108
Topic: Code Signing SubTopic: General Tags:
Dec ’24
Reply to Your request couldn't be completed
i have the same issue, i have a claude account paid, with xcode 26.3 but im having infinite loading after finishing the SSO. The infinite loop appears in xcode
Replies
Boosts
Views
Activity
2w
Reply to LocalAuthentication like Face ID crashes using swift 6 iOS 18.1
@DTS Engineer Hello Quinn thanks for answering, yes changing the method using async works. i will leave the method that works for me func authenticate() async { let context = LAContext() var error: NSError? if context.canEvaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, error: &error) { let reason = "We need to verify your identity" do { let success = try await context.evaluatePolicy(.deviceOwnerAuthenticationWithBiometrics, localizedReason: reason) await MainActor.run { self.isAuthenticated = success } } catch { print(error.localizedDescription) } } else { print("Biometrics not available: \(error?.localizedDescription ?? "Unknown error")") } } also i filled the bug before your answering, this is the bug number for the record. Dec 11, 2024 at 9:48 AM – FB16082108
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’24