Hello to the team,
For almost one week we're trying to figure out, why trying to create a signature using SecKeyCreateSignature is working fine when we're using the same whole flow from UIKit and fails (return -3 and not presenting the FaceId view) when we're calling it from UIHostingController, using SwiftUI.
This is the command that fails - the whole flow to this point is the same and is being running on an item that implement the same protocol extension.
let signature = SecKeyCreateSignature(secKey, algorithm, data as CFData, &error) as Data?
Your help will be fully appreciated. Thanks a lot!
Dudi